分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0+ H$ `+ I" [; O* ~: |' W
5 G  [" r$ |! [& o( t
  1. [PHP]3 t( s# Q$ ~/ f5 f/ X
  2. 8 L1 a3 X" l( D: s; L
  3. ;;;;;;;;;;;;;;;;;;;
    - O9 Y$ b9 U% w4 _) E
  4. ; About php.ini   ;
    5 F9 m6 N6 r6 P0 t
  5. ;;;;;;;;;;;;;;;;;;;
    6 i! Z: C- J7 J
  6. ; PHP's initialization file, generally called php.ini, is responsible for3 o$ i( l5 z, f& H9 t* H" T
  7. ; configuring many of the aspects of PHP's behavior.
    ) |' F. ~* d& z* y, b  |4 X8 W

  8. , F$ l* C9 @3 S3 S* W
  9. ; PHP attempts to find and load this configuration from a number of locations.5 A0 C; ~9 D! u' V  q
  10. ; The following is a summary of its search order:: ^1 Q) s! P! Q; A
  11. ; 1. SAPI module specific location.; \* o; O- Z4 C( N% v  @# T
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    # S2 S/ E! r! G* C$ u
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    $ h6 ^8 n3 V3 t( E5 S1 Q
  14. ; 4. Current working directory (except CLI)
    + D/ S( I% A+ @% [( _8 ^1 F, d
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( z  w" W4 z2 P& n
  16. ; (otherwise in Windows)
      X8 b; }$ M* h: s; z% F
  17. ; 6. The directory from the --with-config-file-path compile time option, or the+ B8 I- D( ~7 g- s& P. a
  18. ; Windows directory (C:\windows or C:\winnt)9 g- {: |+ _8 m1 x3 W) n) W. X
  19. ; See the PHP docs for more specific information.( f' _( R9 R9 L5 i- ], U! W
  20. ; http://php.net/configuration.file
    % K1 X- U1 |" l

  21. / B( I- V+ O$ g9 N7 w" j' O
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, s' \) |6 A( r8 g: i
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    # P& u1 R$ T9 x) V1 I9 C/ a+ m
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      L" [& T& p; m  t
  25. ; they might mean something in the future.' H* A# V# A" M4 Q4 v( Y/ n+ e
  26. 3 I' A5 M) ]# _" h  u
  27. ; Directives following the section heading [PATH=/www/mysite] only
    0 p0 l# \/ U7 }, k# s, S
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    & z* f# O4 Z& b7 e% ^" _
  29. ; following the section heading [HOST=www.example.com] only apply to6 y. W, |1 z8 b9 x! G) d" o- p
  30. ; PHP files served from www.example.com.  Directives set in these3 l9 [* s/ X) a3 `5 N+ z9 z
  31. ; special sections cannot be overridden by user-defined INI files or
    # h4 Q% a) Q7 f5 _# X
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under' g! z4 |$ y2 |- x
  33. ; CGI/FastCGI.
    7 N/ t2 Q* h" n# M
  34. ; http://php.net/ini.sections! V# Q6 d+ v! M# N

  35. * U! U: s7 I- r5 t6 |, j) p  s6 Q
  36. ; Directives are specified using the following syntax:
    ( K% q: H7 M/ v  f3 g2 X
  37. ; directive = value
    6 z4 G- G5 U( J6 H
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.: F0 F' t7 X/ E8 t9 p( k
  39. ; Directives are variables used to configure PHP or PHP extensions.. j5 B7 L7 F- V1 ^: x
  40. ; There is no name validation.  If PHP can't find an expected
    . w; w: T4 g0 \+ K# L, O7 X
  41. ; directive because it is not set or is mistyped, a default value will be used.3 r3 f! C7 w, ]5 R5 L/ v; g
  42. : Q6 C, g6 f5 X4 T
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one: Z- [" l; U0 r4 ?
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    5 r# I, C# w$ K* _
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a: v5 C$ S. p% z( j& c* r& t
  46. ; previously set variable or directive (e.g. ${foo})9 Z5 \  g; S1 g

  47. + ^4 ~8 L$ y2 l& e
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    * Q2 O8 a7 E9 [  U
  49. ; |  bitwise OR5 H( I$ ^/ c; `% Z- I" U" W! |
  50. ; ^  bitwise XOR
    . W( ]. Q8 N# @% W. B* a* h. n
  51. ; &  bitwise AND* q$ C% g, Z9 V' J
  52. ; ~  bitwise NOT. F5 k# A6 _4 k5 i, s
  53. ; !  boolean NOT1 w' d7 _8 F# m; z$ P3 Z) V! B

  54. & K9 _* y1 Q6 r, p8 K! @, P; a2 u
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.6 t* H* X# B8 ?) t
  56. ; They can be turned off using the values 0, Off, False or No.8 H+ ~( b3 U) f0 A
  57. 7 b) k" D. n5 |( q8 @1 Y0 X$ b
  58. ; An empty string can be denoted by simply not writing anything after the equal% r( j8 o% Q; U/ _
  59. ; sign, or by using the None keyword:
    8 Z* y# [# f! d" N

  60.   f6 o1 l# z* f4 S! V- D
  61. ;  foo =         ; sets foo to an empty string! d1 a) s/ |  w! [
  62. ;  foo = None    ; sets foo to an empty string
    0 b; \) g2 U8 J8 L
  63. ;  foo = "None"  ; sets foo to the string 'None'* g6 @' _8 j# k( O
  64. 8 E$ U0 {8 y" W7 S5 C
  65. ; If you use constants in your value, and these constants belong to a
    0 Z& S2 g' v8 E
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),% _/ N1 l7 m: ~2 r$ h0 z; }
  67. ; you may only use these constants *after* the line that loads the extension.
    ) i% E) _0 Z; ]7 K
  68. ; X9 I( v4 w( U8 w6 y+ s3 L/ G
  69. ;;;;;;;;;;;;;;;;;;;; ]; J  v& Y) t1 {8 I' {: `
  70. ; About this file ;
    ) p0 }, w* A  O( l2 X
  71. ;;;;;;;;;;;;;;;;;;;
    7 {& ^2 V+ T3 r0 _! b; T4 c
  72. ; PHP comes packaged with two INI files. One that is recommended to be used  z) E$ f# y1 m
  73. ; in production environments and one that is recommended to be used in
    + `: M9 q$ l2 x  \; u
  74. ; development environments./ {- r4 t' q, T! z6 p7 d8 Q! r5 Q5 V
  75. 4 v/ _5 D% N6 A" j7 f  c; z9 R
  76. ; php.ini-production contains settings which hold security, performance and
    7 a. V; S5 B1 d& o! k
  77. ; best practices at its core. But please be aware, these settings may break
    ( |( e& t  j; a
  78. ; compatibility with older or less security conscience applications. We
    % D% J, B( b5 o
  79. ; recommending using the production ini in production and testing environments.
    7 w- j  Q2 B" p8 w- [7 y
  80. / `) _2 b! o# b; W8 [7 `
  81. ; php.ini-development is very similar to its production variant, except it is
    ( C, p$ b1 v$ G- W
  82. ; much more verbose when it comes to errors. We recommend using the
    + E, G! k4 {( p
  83. ; development version only in development environments, as errors shown to6 ?' Z+ \7 @9 r* H2 l$ V! ^
  84. ; application users can inadvertently leak otherwise secure information.
    % h1 ]$ w' _' |! Q% s
  85. & T) M! I1 V' }
  86. ; This is php.ini-production INI file.7 v. S* p- J  e* e" q6 m/ K* r
  87. ( y# u$ \/ g. F% ^6 R( B
  88. ;;;;;;;;;;;;;;;;;;;: Y4 }+ J' b1 L; k( a" }  P8 `
  89. ; Quick Reference ;( o# N/ q1 h4 T, |) M- n
  90. ;;;;;;;;;;;;;;;;;;;3 G/ \9 f& A, T7 `# A% b
  91. ; The following are all the settings which are different in either the production
    / E  B$ o. H7 c, t  U( F9 Y
  92. ; or development versions of the INIs with respect to PHP's default behavior.( h1 J) o/ ^6 h3 E$ h% b
  93. ; Please see the actual settings later in the document for more details as to why$ c% J3 v3 }2 `+ e0 o* R% E: S+ u
  94. ; we recommend these changes in PHP's behavior.
    ; U) B3 o  L+ s7 [' }' `

  95. & s1 R# [$ b4 j. p
  96. ; display_errors
    3 S/ H7 Y" J/ s$ S" T
  97. ;   Default Value: On
    2 _5 x8 D. \+ }9 f
  98. ;   Development Value: On
    ' y& }! [6 M5 x3 c2 n, F
  99. ;   Production Value: Off
    5 z/ y2 }: V/ A2 y, ^! W& T
  100. ! `5 ?- W/ c" m2 z
  101. ; display_startup_errors0 p% A$ r" e! a) c' }
  102. ;   Default Value: Off9 J4 P7 O7 x# Q1 A9 Y& ~
  103. ;   Development Value: On
    " i" m% o6 ?' Y$ b
  104. ;   Production Value: Off- _. q* C2 \3 _$ S0 M
  105. 7 S; |& N# Y  F. c: z
  106. ; error_reporting( r) I# w; [# G# \" e2 p. b# @
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    & f+ G0 z0 `- c* K- v
  108. ;   Development Value: E_ALL
      E4 g" V# S) y/ d6 S7 k0 z
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 U3 O" |1 A& a4 B$ w4 R( F

  110. + T. _  N& e0 D& a1 X
  111. ; html_errors
    6 S4 S9 m& X: \( Q+ m% k
  112. ;   Default Value: On
    3 U% ?# \& r" E: ^' V5 A
  113. ;   Development Value: On
    8 s+ O' a1 D  b  _1 t4 a
  114. ;   Production value: On" D0 {! ]; L- R: q. c
  115. 4 F" w$ a0 Y0 J
  116. ; log_errors
    3 x4 x) W4 d& ]0 q; @$ m/ T5 p
  117. ;   Default Value: Off3 D! z" k8 e% i( [+ N; l" k
  118. ;   Development Value: On( z* @. F  U3 |; X) u- v
  119. ;   Production Value: On
    " N7 O1 w, ]$ v
  120. 2 [( Q+ K9 j! f. q+ C
  121. ; max_input_time
    ! y+ G/ g2 R0 c4 N: N4 e' W
  122. ;   Default Value: -1 (Unlimited)* E6 I" {" ]4 x. l
  123. ;   Development Value: 60 (60 seconds)
    & O7 n, B  ]% K; N5 T7 T4 @
  124. ;   Production Value: 60 (60 seconds)
    9 E" U/ O7 w% M% R* h! W! A
  125. 4 `( C( R1 @8 S+ j9 G, M& T2 N* Q
  126. ; output_buffering
    - [; A7 o6 H  Q* P$ l+ {+ \6 t, N* e
  127. ;   Default Value: Off, I# }. t* \0 l* d6 Q! P, Z* S
  128. ;   Development Value: 4096
    % x& l$ e$ ~; H1 N5 X
  129. ;   Production Value: 4096
    9 N8 u$ j+ B( ^5 P2 G

  130.   N7 _+ e7 e6 Q, c
  131. ; register_argc_argv* W' Z; X6 l- V) X
  132. ;   Default Value: On' E3 g- S/ t6 M  J6 W8 f
  133. ;   Development Value: Off
    & K9 X1 N: W/ o' x  o$ z' O: q
  134. ;   Production Value: Off. p& {3 x/ \5 t, F- M
  135. ) ~! P$ V/ _( g* |" [2 {
  136. ; request_order
    ; j' _; W% L9 ^0 o6 z2 d5 L/ m8 W! F& R+ R
  137. ;   Default Value: None
    : C9 k* M) N2 q, f3 V9 I6 G
  138. ;   Development Value: "GP"- s# _2 S  M  T8 \
  139. ;   Production Value: "GP"9 @6 _! k& P7 W; |" d9 ?1 f

  140. 3 x. [: W: d! u
  141. ; session.gc_divisor+ O- Y' O- D5 V6 i0 O4 a0 ]. K/ N
  142. ;   Default Value: 1006 k, [8 }8 e& v4 u
  143. ;   Development Value: 1000
    , h) q2 k9 B5 m- q3 c- P
  144. ;   Production Value: 1000
    * }0 I8 j% U0 m0 f8 D9 h( \

  145. $ k$ S5 X/ V* ~  P6 q; L9 ]
  146. ; session.hash_bits_per_character
    6 c, s2 i0 n, D: Q1 M
  147. ;   Default Value: 4- K3 Q- ?# Z1 p( O- S. I7 F5 B
  148. ;   Development Value: 5
    ; A6 ?6 q5 S. _" I  E% M8 M) Q
  149. ;   Production Value: 5
    / [* J$ ]) `, d9 i+ w
  150. % c$ e9 `/ `& M6 y/ z* P7 x" T0 T
  151. ; short_open_tag
    - a5 z" z# e0 t
  152. ;   Default Value: On
    5 g3 G3 q. z! @* O+ |$ }9 c- @3 [
  153. ;   Development Value: Off
    / t. H9 y( }$ j
  154. ;   Production Value: Off
    " [! \- o. }# U& ?- M

  155. " l( ?* g# L8 F- g# }2 h
  156. ; track_errors7 H( h& }- ?6 K* G
  157. ;   Default Value: Off- Q! U! O" b) L& Y" t* S4 H' ?* O; {
  158. ;   Development Value: On. g7 @$ P% E8 t: E& r% e7 ]
  159. ;   Production Value: Off1 e( K7 u' g3 J+ l5 ^5 ?) M9 l% ^# d3 g

  160. ; C' N5 {! s2 s) c" v8 l
  161. ; url_rewriter.tags
    0 R# P/ a7 c- }, [
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="+ v+ Q; j# ?: d+ k5 F" q5 }
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + S8 s  A7 {2 z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! C; U, s/ w+ w, W  {

  165. ! }4 h; S  d' Y9 L
  166. ; variables_order
    + \) b# H, |, }
  167. ;   Default Value: "EGPCS"
    * y! e' J& Y) ~- R+ \
  168. ;   Development Value: "GPCS"
    - l6 U1 V6 T+ Y2 t: P/ k
  169. ;   Production Value: "GPCS"5 r2 l2 @/ N6 K" ^
  170. 5 l/ Q5 D8 K. [6 i5 X
  171. ;;;;;;;;;;;;;;;;;;;;
    1 J% N; p+ |7 P
  172. ; php.ini Options  ;" d" N' |7 V# {! \) R
  173. ;;;;;;;;;;;;;;;;;;;;' ~) t  i6 G1 E7 P
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"2 N' M5 G6 @# n8 F6 n
  175. ;user_ini.filename = ".user.ini"; U& ?: S1 o# t! D* p, U

  176. * K& @$ ]; }3 v: X8 l
  177. ; To disable this feature set this option to empty value
    + K' Z0 R( Q' E0 z3 H2 y. H/ Q
  178. ;user_ini.filename =
    5 U/ X9 m8 Q7 U
  179. 3 b2 V' b) \. a6 S! o  N8 m
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! C/ n; d! ?  P
  181. ;user_ini.cache_ttl = 300) [3 T3 _9 |7 x  C4 W: X" c5 g
  182. 3 m) E2 J# a# o$ P1 d5 I
  183. ;;;;;;;;;;;;;;;;;;;;
    4 y* ?6 b4 h8 b$ L6 \! }; v6 \
  184. ; Language Options ;
    ( A, @& H& V. s% G' s0 G
  185. ;;;;;;;;;;;;;;;;;;;;" f2 y% F4 i. D% B  a
  186. 8 \9 U1 T" ]+ J# k) U& `
  187. ; Enable the PHP scripting language engine under Apache.* u! c) _: `; ]' C2 i' ?4 @
  188. ; http://php.net/engine/ x( n# R2 X% n* U/ R: K
  189. engine = On2 C+ k8 C" R' q" A  u# K5 O( l

  190.   j& l& {: W7 [5 s) p
  191. ; This directive determines whether or not PHP will recognize code between
    $ O4 P# }9 h# q6 K
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& o& q3 w3 O2 Z2 L
  193. ; generally recommended that <?php and ?> should be used and that this feature
    # N8 g6 u, A  M- U3 U. }. _
  194. ; should be disabled, as enabling it may result in issues when generating XML" ?# q/ T* W, z" e2 I  }
  195. ; documents, however this remains supported for backward compatibility reasons.) S2 n; W6 i' `- z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be0 p" ^5 h' ~, R/ v7 s3 Q
  197. ; used regardless of this directive.
    / @4 w) t" Q4 R( h$ p; J
  198. ; Default Value: On8 E$ |: E% g* z8 G0 |5 \( {! g8 J
  199. ; Development Value: Off+ b4 r+ h3 Q8 m, d( L3 Y8 i
  200. ; Production Value: Off& V$ z/ e1 j& V9 z2 F" J$ }) b
  201. ; http://php.net/short-open-tag( g- X* I' Z. Q8 l4 z
  202. short_open_tag = On9 M& f$ `6 u5 J% S

  203. ) e2 ?5 h, [) d0 t. r: Z6 ^6 b* y
  204. ; The number of significant digits displayed in floating point numbers.
    8 Z( W2 ]& P# O- a2 w
  205. ; http://php.net/precision
    5 b" B' Z3 N4 F7 P% n7 c% u! ?% O
  206. precision = 14
    2 d+ P& Z5 p, `3 V" ]/ ^' v

  207. + n" H5 k! ^# O) I3 @1 J
  208. ; Output buffering is a mechanism for controlling how much output data7 A: H, M* H' G( y& T
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that+ b0 ~2 c/ p& {3 i, _: y
  210. ; data to the client. If your application's output exceeds this setting, PHP
    & O0 L" E* Q: e! H# u# i
  211. ; will send that data in chunks of roughly the size you specify.8 L) b  P; G, r/ i9 s  ]( v
  212. ; Turning on this setting and managing its maximum buffer size can yield some4 Q8 x* Q" a; W
  213. ; interesting side-effects depending on your application and web server.
    % a% y/ q( Z$ X* j0 u- b4 O1 J
  214. ; You may be able to send headers and cookies after you've already sent output
    ( p2 x( w1 c$ w& D' m
  215. ; through print or echo. You also may see performance benefits if your server is
      Y. a% I" A6 E3 T
  216. ; emitting less packets due to buffered output versus PHP streaming the output8 z$ H3 \' L6 m  i
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance* @( ^# H; T& A. N0 s; T1 j$ X5 C
  218. ; reasons.- d# g( y7 Q0 W$ b& L* e/ f
  219. ; Note: Output buffering can also be controlled via Output Buffering Control3 v; s, e% o3 C* ]. T4 F
  220. ;   functions.2 G" k' T8 C5 {
  221. ; Possible Values:
    % q! L  q: z0 g
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)7 I0 f4 ]& g) E5 T
  223. ;   Off = Disabled
    # J, }* w! O) ]$ [, C+ R& n
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.2 o2 W6 r, Y9 L3 F5 ~
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 A# m) @7 Y6 a; v! l$ @# ?5 u
  226. ; Default Value: Off" L+ C' l; x- j! q
  227. ; Development Value: 4096
    * d7 W7 Q/ z& j- F% p3 k
  228. ; Production Value: 4096
    ! [/ U9 y  ~# E* e
  229. ; http://php.net/output-buffering: t; a1 c0 W  x+ s) t5 U
  230. output_buffering = 4096
    1 L* g: k% Y% y

  231. : f' q9 d6 p# X! @. J2 i6 a
  232. ; You can redirect all of the output of your scripts to a function.  For
    9 v6 X. `; L( t; Z) \. b9 c
  233. ; example, if you set output_handler to "mb_output_handler", character9 ~1 W) s; Q7 ?5 v8 V- J
  234. ; encoding will be transparently converted to the specified encoding.5 H! r" `" p( p- ^0 H$ G
  235. ; Setting any output handler automatically turns on output buffering.7 T$ K- {' r5 b. c+ a( l% S
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ! v* ^8 Z# v6 I5 r
  237. ;   directive. Instead, explicitly set the output handler using ob_start().! X, T3 m7 g' l' B  w
  238. ;   Using this ini directive may cause problems unless you know what script1 V8 R6 C+ o/ D& `, x4 I
  239. ;   is doing.# i- n, D) Q3 q% `+ y- l
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    2 h: _4 N" y' p5 h/ A
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"." t2 {9 H2 c3 t
  242. ; Note: output_handler must be empty if this is set 'On' !!!!  Y( G$ O: F/ B2 L4 y
  243. ;   Instead you must use zlib.output_handler.
    / I. S, X8 Q  j: G) H' I2 }
  244. ; http://php.net/output-handler- n* i) n) e9 l6 P" k# r' \' m0 i: h
  245. ;output_handler =
    4 S3 G$ @0 k- f2 Y+ z, V; S
  246. , L' g. x+ ~" \& T1 J+ ?
  247. ; Transparent output compression using the zlib library/ g0 {& r: }* ~/ A# B  F& Q1 d
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size3 t& [  p; {( G9 V( M) m" [2 k$ T1 A
  249. ; to be used for compression (default is 4KB)
    * d+ Y, F( C% g' H* k) [
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ) r8 h5 c  d* h% Q! Y2 b
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    * V# n/ ~+ S& ~- q$ R" S
  252. ;   compression. If you prefer a larger chunk size for better
    0 a9 g! f- v  R$ f% X: I
  253. ;   performance, enable output_buffering in addition.$ ]9 {3 z: P% [( X3 I; l
  254. ; Note: You need to use zlib.output_handler instead of the standard& E( ]. N& D. q! X- t5 z1 |
  255. ;   output_handler, or otherwise the output will be corrupted.2 t0 w2 s7 c/ {) ?: |+ b
  256. ; http://php.net/zlib.output-compression% u7 J% Y7 c7 w' |! [
  257. zlib.output_compression = Off
    ) {7 D9 L# o) U
  258. 3 D( D8 i( }, K, q# C1 t
  259. ; http://php.net/zlib.output-compression-level
    5 m1 j4 }1 B6 X3 S  K
  260. ;zlib.output_compression_level = -1! o4 F' K! v  P. c

  261. ' l8 G* Y: q. E
  262. ; You cannot specify additional output handlers if zlib.output_compression8 }: H8 K( D* U4 C; j& n
  263. ; is activated here. This setting does the same as output_handler but in
    . ^" Q. u6 U) e6 X
  264. ; a different order." x( m+ ^9 X. r# f/ ^+ z1 h& N+ k
  265. ; http://php.net/zlib.output-handler  J2 ~4 O; g9 Y. u  `/ l7 |9 ~% r
  266. ;zlib.output_handler =
    / y  ]6 T7 h8 g

  267. 3 M/ K8 k/ y& l
  268. ; Implicit flush tells PHP to tell the output layer to flush itself) G# A4 I+ h( d0 E0 k
  269. ; automatically after every output block.  This is equivalent to calling the
    5 d5 g0 T+ [; }- D3 Y" A4 P
  270. ; PHP function flush() after each and every call to print() or echo() and each8 C/ I  I* W! {" _, c8 o
  271. ; and every HTML block.  Turning this option on has serious performance
    9 \$ _% c# `) k' E
  272. ; implications and is generally recommended for debugging purposes only.8 X( w7 x) L% R* i9 y- @
  273. ; http://php.net/implicit-flush
    + r& @; q: G, f& K
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    , y. y+ T: r, e; J) m
  275. implicit_flush = Off7 m& J4 N: J- `. ]' L. R7 [2 C

  276. " i9 |  N5 w0 Z
  277. ; The unserialize callback function will be called (with the undefined class'* H, a5 [) j. L4 b* v5 |
  278. ; name as parameter), if the unserializer finds an undefined class& E/ o4 Q$ S) B: o
  279. ; which should be instantiated. A warning appears if the specified function is- L* q& f% P% c2 l
  280. ; not defined, or if the function doesn't include/implement the missing class.
    % s2 x; H8 K# E" E
  281. ; So only set this entry, if you really want to implement such a8 G! P  j: z* \) Q1 f# _( d
  282. ; callback-function.
    / A5 H$ R% _5 _7 k
  283. unserialize_callback_func =
    - M0 D; D# a9 ~- w5 h- w- n
  284. & ]: O+ _1 b& N- s4 ?6 B2 f
  285. ; When floats & doubles are serialized store serialize_precision significant
    8 P$ O: f" G* ?9 d( Q- P# j
  286. ; digits after the floating point. The default value ensures that when floats9 {/ H$ c9 ]( r& u+ @6 x4 u
  287. ; are decoded with unserialize, the data will remain the same.- M, x5 V/ h% P) b  _/ P* l
  288. serialize_precision = 17% i8 }" b9 d: \& p  w
  289. : l4 x! [7 ]- C1 f
  290. ; open_basedir, if set, limits all file operations to the defined directory5 u3 D: O; \1 y
  291. ; and below.  This directive makes most sense if used in a per-directory  B2 P+ U& h" z+ i( o3 [7 f
  292. ; or per-virtualhost web server configuration file.
    * R% [6 e9 ^" d+ q
  293. ; http://php.net/open-basedir
    * Y/ H8 _$ U* h2 l% s% W
  294. ;open_basedir =5 y' U& |: Q2 F/ w+ R4 i0 G
  295. 3 s; q' q; f9 W
  296. ; This directive allows you to disable certain functions for security reasons.
    2 \+ ~$ Y' v; v# N% l: n  T
  297. ; It receives a comma-delimited list of function names.- c0 `: i- R8 W% f) z0 l
  298. ; http://php.net/disable-functions
    3 `2 `' ~$ N) v$ j' o, G9 D! X8 u
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru7 S$ Y3 D' c6 K1 E3 I

  300. * }% Z/ |6 T6 B( m& [5 g
  301. ; This directive allows you to disable certain classes for security reasons.$ e# Z0 G. @0 Q! \
  302. ; It receives a comma-delimited list of class names.# N! ]1 u5 v# L
  303. ; http://php.net/disable-classes
    # r  i* C7 u1 g" t+ o, V+ o
  304. disable_classes =
    2 b& d$ N( |& S8 t- [% I
  305. & H7 B/ e4 z, }; j
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in  c. x5 p$ H8 _- R
  307. ; <span style="color: ???????"> would work.
    5 r" V  y: g/ P2 q
  308. ; http://php.net/syntax-highlighting
    " A% K% N* p6 I" R6 m* j8 I
  309. ;highlight.string  = #DD0000. L% @) V/ ~) N, _' f- r' r4 F
  310. ;highlight.comment = #FF9900
    + W% M2 q$ d' v8 g6 n: d
  311. ;highlight.keyword = #007700) M" z) S' z& \9 T/ n
  312. ;highlight.default = #0000BB
    : \# e; v" J+ Y) ?5 A
  313. ;highlight.html    = #0000005 y/ ^* F1 ~' ^$ H, c6 e* N( n

  314. 7 s' N, i( n. b. ^
  315. ; If enabled, the request will be allowed to complete even if the user aborts9 ?! }! d0 x5 h1 Z! Y
  316. ; the request. Consider enabling it if executing long requests, which may end up" {3 ]5 K* f: \8 h( l
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior' I, U$ @! Q1 C2 |3 p, y8 c* w
  318. ; is to disable this feature.
    % C7 _+ E: V7 c) f) T# ^
  319. ; http://php.net/ignore-user-abort: a( i/ ~- ]+ L( n
  320. ;ignore_user_abort = On
    9 |- Q- u* ?( j9 W$ z) f
  321. ( W7 {% s9 D: K3 a* V6 y
  322. ; Determines the size of the realpath cache to be used by PHP. This value should* `* |$ q: Y' a, U% _5 Y/ O7 F
  323. ; be increased on systems where PHP opens many files to reflect the quantity of3 J+ \& f9 w- B) o' o8 n5 y
  324. ; the file operations performed.
    3 C5 F/ M6 ?- a8 k" Q. w
  325. ; http://php.net/realpath-cache-size9 ~' O& _: H+ K! c+ f5 Z; Z6 Y
  326. ;realpath_cache_size = 4096k9 B) Q/ X5 L2 _  \$ M5 I
  327. - ~4 h" N3 R' T& W
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ( T6 ^- E5 q: C: V5 y
  329. ; file or directory. For systems with rarely changing files, consider increasing this! h3 ]3 S3 N' L6 Q! s; T* u$ `4 I+ }3 i
  330. ; value.
    $ x4 U: z+ k) ~7 X' S; \% b
  331. ; http://php.net/realpath-cache-ttl
    ) c5 o. C8 h2 H" {, L' @' G
  332. ;realpath_cache_ttl = 1202 q7 O: T* Y! R8 v9 F+ |: B6 I

  333. 9 r3 R+ M" @* B; M; j* m
  334. ; Enables or disables the circular reference collector.. [$ |% L6 |  Y  c, a
  335. ; http://php.net/zend.enable-gc
    ; m3 I9 R% [3 D" O- j
  336. zend.enable_gc = On
    - q& w+ Z1 F  y. ^0 S: o
  337. ! ]9 z: p0 F; {4 a$ r/ z
  338. ; If enabled, scripts may be written in encodings that are incompatible with3 n8 u3 f' w" T+ Q% @* f
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such  o7 e4 h0 }9 ?; J! ^6 k4 J4 I/ r8 A
  340. ; encodings.  To use this feature, mbstring extension must be enabled.9 C* {4 A) a6 M* Q5 y4 d
  341. ; Default: Off
    1 z/ Z$ ]6 a* |0 i  x. v
  342. ;zend.multibyte = Off* _" q5 U+ x1 }. `2 f
  343. $ k# L; s1 M$ ^
  344. ; Allows to set the default encoding for the scripts.  This value will be used) B7 r4 A# N" U9 V
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.4 a3 z5 T  J& Q1 i+ ^( O
  346. ; Only affects if zend.multibyte is set.
    4 K# Q# K+ L2 b/ e
  347. ; Default: ""
    9 s9 U4 {2 z6 W* N' ]; Z
  348. ;zend.script_encoding =
    0 f. l) C3 \! K( i

  349. 4 B0 I" K' H: l) c8 x
  350. ;;;;;;;;;;;;;;;;;/ i" {5 l. V. P3 Y
  351. ; Miscellaneous ;8 M: w! |9 u4 O2 Q
  352. ;;;;;;;;;;;;;;;;;
    4 O9 H! i0 c8 }% E' f9 d
  353. & o% y  G+ `# D
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ' p% S# Y/ T. P0 [3 N, ]
  355. ; (e.g. by adding its signature to the Web server header).  It is no security' f5 ~* b; P* T8 O; m8 B8 g
  356. ; threat in any way, but it makes it possible to determine whether you use PHP3 Y2 V. Q# M2 ?+ Q( U- g2 I
  357. ; on your server or not., z, |  a$ _) J# i' p& U" k
  358. ; http://php.net/expose-php
    5 b6 o& n' w. F" x/ U
  359. expose_php = On0 H5 O  H: K: ]& w) O

  360. 9 s* W  R: T7 ]
  361. ;;;;;;;;;;;;;;;;;;;) Y! `) I0 C0 v5 ^2 o9 r
  362. ; Resource Limits ;4 `! ^) `# n6 f8 Y0 c6 |. n& d
  363. ;;;;;;;;;;;;;;;;;;;
    5 h* Y" m0 H  L. k# M% n2 G

  364. + A5 i( h  n/ g3 M- |9 d0 ?6 W( S( ^
  365. ; Maximum execution time of each script, in seconds* b1 G6 ^* o1 x
  366. ; http://php.net/max-execution-time
    8 @2 B/ [+ Y- V% ]' Y  r
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ! W" o6 s" [0 w  Y; p& b
  368. max_execution_time = 300* y  j+ r  Y7 Q8 H# F& S
  369. ) B" }) k9 D! A5 A7 N: R1 Z0 q
  370. ; Maximum amount of time each script may spend parsing request data. It's a good4 Q- a( g+ B) w+ v$ }, y/ e
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 q" g8 e* j. M0 @/ _
  372. ; long running scripts.
    6 `: H3 `7 x- H" G' [; P# F
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    3 V' e6 o4 j6 H' A1 c
  374. ; Default Value: -1 (Unlimited)" @* ]7 i  B* `. g; [1 w
  375. ; Development Value: 60 (60 seconds)
    9 F3 j: ?0 ^4 p/ @
  376. ; Production Value: 60 (60 seconds)
    * I' k; ~' p$ Z. C4 k
  377. ; http://php.net/max-input-time) g; r, b8 D0 O2 ~  S
  378. max_input_time = 60
    + Z! R, @9 G2 t' \4 s/ n/ b- G0 |
  379. $ P5 a" M9 s- M2 N
  380. ; Maximum input variable nesting level
    ; c% t5 k% D7 v
  381. ; http://php.net/max-input-nesting-level3 y- d8 s  k3 R" Z0 J/ W
  382. ;max_input_nesting_level = 64
      {8 q6 t4 Q: q2 m0 Q
  383. + }- K5 {! p2 W4 p2 N
  384. ; How many GET/POST/COOKIE input variables may be accepted+ Y3 n& N+ @- J6 L% q* \
  385. ; max_input_vars = 1000
    + F2 u8 }5 W; q8 C7 }: c' E
  386. ) Q. t) v( n& N8 h+ E" l
  387. ; Maximum amount of memory a script may consume (128MB)5 _+ h( s) [1 [+ O5 r5 b& Q0 u
  388. ; http://php.net/memory-limit1 s: P0 z5 O1 L6 i$ ~4 b9 A
  389. memory_limit = 128M8 g+ R% r* r, Q' s. I+ p* W) h

  390. 6 D- _( R- b3 }9 P- @7 Y
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ q3 D3 p% Y: |/ y3 s# M* g
  392. ; Error handling and logging ;
    " L0 f, j3 h0 }' D. D: e+ f( f# _
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 |# b& k, G/ s1 Y# x: A

  394. 1 h9 t, e) _# J) \3 X* w! P; c( q) v
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    5 s! q+ N" C7 P1 s5 L* C; B# [
  396. ; it to take action for. The recommended way of setting values for this1 C. b1 h  z$ A& w6 u
  397. ; directive is through the use of the error level constants and bitwise
    ! a# B0 a7 {1 y. X/ ]
  398. ; operators. The error level constants are below here for convenience as well as
    " a( u4 }: N& J
  399. ; some common settings and their meanings.
    + {8 C+ i/ ^. B5 C0 b
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT! l& G) [/ w% [
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    - o% ?4 [6 H& l7 m( y6 V9 E/ m
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    7 ^- R9 _* }' f7 I9 s1 w
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ' o) k3 B3 ~& t4 ^% J" ~1 u! @5 P
  404. ; resources complaining about best practices and coding standards. That's what
      a: h% f/ L0 }& D  e
  405. ; development servers and development settings are for.
    9 {8 N- r# \4 _3 u, y; A
  406. ; Note: The php.ini-development file has this setting as E_ALL. This) ]' i" W8 w: l3 g6 A( g5 M1 j( r6 n
  407. ; means it pretty much reports everything which is exactly what you want during" J9 {2 s+ R. u9 Q
  408. ; development and early testing.
    # q( D9 z* [, y/ r2 _: y
  409. ;
    ! \& X& q  x+ W% V1 `& k3 L
  410. ; Error Level Constants:1 W8 v2 l1 ]& b+ d
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)7 W! e9 Z& e4 |
  412. ; E_ERROR           - fatal run-time errors) m! O0 C) Y. N* @! x/ ]- m. I- a
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 z+ t, S8 ?  Q5 U
  414. ; E_WARNING         - run-time warnings (non-fatal errors)# V" ]0 _& i0 _2 e# G
  415. ; E_PARSE           - compile-time parse errors) m5 r4 d3 r" Y! Q; m: Q
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
      S; a; n, z( l. `1 _$ J$ s
  417. ;                     from a bug in your code, but it's possible that it was
    . d) e; f1 k+ \# g* I" T9 H$ Q
  418. ;                     intentional (e.g., using an uninitialized variable and
    : l7 s8 i6 M+ n5 v0 T2 o7 e7 B
  419. ;                     relying on the fact it is automatically initialized to an
    7 ~) ]; A2 j, D# x( t: }2 Y
  420. ;                     empty string)2 {6 ~4 s1 \; P. R
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes- g, ^: V+ O" ~8 ^7 `8 m& G
  422. ;                     to your code which will ensure the best interoperability
    9 e' }& R9 z/ {7 E4 E0 H+ Y  b
  423. ;                     and forward compatibility of your code
    # B1 u' q1 J" W: Z: F
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    2 \- j& J1 U: r+ y( y
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    5 O' P) e0 v+ l3 s4 T
  426. ;                     initial startup
    ! P* g3 ^2 v) y: I# o
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    : K# f" w( D; q0 J% n
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)% V) I! Y( \1 k% U* m
  429. ; E_USER_ERROR      - user-generated error message
    ) j' F$ h$ e" R- K
  430. ; E_USER_WARNING    - user-generated warning message- V6 c4 G% s% ?, r
  431. ; E_USER_NOTICE     - user-generated notice message0 e* [4 A3 U) H
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    7 k3 _" q7 Q  O2 m
  433. ;                     of PHP
    6 |% P6 y  b9 {7 s" P2 [
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ; d3 }" A' Q/ u
  435. ;- m/ \! N* \0 t7 H
  436. ; Common Values:
    2 z& u& ^4 |: S" Y# l2 C  [: p
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)0 j# ~, x, f; s# S) j
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)" n# H% d! T8 g: `1 s' V
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    3 Y$ m+ }) R# }7 x7 U$ a
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    3 L8 X4 p" s. D& G
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED& y  q6 B1 P) I( M7 O, W' W) J) i8 N% ~
  442. ; Development Value: E_ALL% p* B0 V0 y: c9 C/ O
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, u" ]! S) R8 O' b
  444. ; http://php.net/error-reporting' V/ v7 o* T! x1 e  }1 @' @3 y, Z' w
  445. error_reporting = E_ALL & ~E_NOTICE, Q& U! E4 Q' c: E  }* X1 i

  446. : L0 O4 I6 ?% y7 s
  447. ; This directive controls whether or not and where PHP will output errors,. @1 m. Y* ^& D- Y5 ]
  448. ; notices and warnings too. Error output is very useful during development, but
    4 Z9 F. m* B, v5 i6 n/ r- H
  449. ; it could be very dangerous in production environments. Depending on the code
    ! k* }% B* Q$ y7 O, e" R
  450. ; which is triggering the error, sensitive information could potentially leak
    3 s5 C$ Q& K2 h) c! G
  451. ; out of your application such as database usernames and passwords or worse.
    9 ]5 x, c6 P* `: K) ?" W
  452. ; For production environments, we recommend logging errors rather than! q# F( l- u/ g/ T1 Q  u# m
  453. ; sending them to STDOUT.4 Z) U6 k% ]) b1 c6 ?
  454. ; Possible Values:
    7 y/ k$ n: A* E+ M* F% y7 r$ `
  455. ;   Off = Do not display any errors' Q, Z, o- u. x. y8 }2 H* R: B' N
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)2 l) @7 d5 ?1 N( z5 X' Z
  457. ;   On or stdout = Display errors to STDOUT% W0 }/ v( i7 e1 S- n$ x4 T: J; N
  458. ; Default Value: On- H7 C9 J4 u' V7 [2 j& J
  459. ; Development Value: On4 U& P2 X! l# J5 x3 x$ y
  460. ; Production Value: Off
    & _) @- q, {1 A0 c$ e( ~
  461. ; http://php.net/display-errors
    3 O- h6 E$ l$ k( ~9 w, t- g
  462. display_errors = On
    * k: a2 H8 t. J7 k& a6 b6 q
  463. ; d0 G5 \0 L4 Q" H1 S1 k
  464. ; The display of errors which occur during PHP's startup sequence are handled
    0 l: j* F- [% C1 W
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    , a6 b( T# p& r6 c
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ) a2 w+ _, S3 {1 `$ k
  467. ; debugging configuration problems. We strongly recommend you# a2 d5 M2 A+ [' a+ Q* A: e
  468. ; set this to 'off' for production servers.& m9 x7 P& W: I
  469. ; Default Value: Off- o  k0 w5 P- k& w
  470. ; Development Value: On
    * u) W: k' Z8 v" C5 b0 c
  471. ; Production Value: Off
    5 u# }( ]! M* L8 g, S
  472. ; http://php.net/display-startup-errors. v& j# t  e' d! H: b! p" o
  473. display_startup_errors = Off
    5 v0 i* b0 C2 O# Z/ M8 H& b  u% `: f

  474. + f0 A, {; u! U1 r# u
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    1 Y1 ~7 y9 z- m& W% z
  476. ; server-specific log, STDERR, or a location specified by the error_log* }! ?' i8 ~0 K+ }
  477. ; directive found below. While errors should not be displayed on productions
    3 L5 P8 K9 F3 t% [
  478. ; servers they should still be monitored and logging is a great way to do that.$ k6 D8 _' J# T, n# v
  479. ; Default Value: Off. @' t  M8 G3 D8 @
  480. ; Development Value: On
    & a9 s0 D& A( c( B- P/ t. d+ ]
  481. ; Production Value: On9 k9 s" L7 L) u( N* V7 W& _9 U3 C
  482. ; http://php.net/log-errors( Y( H9 l5 i( P, Y* v+ @
  483. log_errors = On
    ; ?7 H9 f1 ~& l: a( Z

  484. ! l& E( _0 F' ~+ t( ]# W& y! C" p9 ]
  485. ; Set maximum length of log_errors. In error_log information about the source is, p: @7 N2 o7 K+ k
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ) I5 r0 E/ G4 S$ d
  487. ; http://php.net/log-errors-max-len
    ! _5 r% s) h3 W' b. T
  488. log_errors_max_len = 1024
    0 @# D2 r; S4 Z. L/ I0 T8 Y

  489. " X9 V- k' \2 I$ U
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same; P" {8 L6 \# U2 |+ q8 g
  491. ; line unless ignore_repeated_source is set true.
    0 s5 \- r0 k. y1 o8 A& c" E$ W- }
  492. ; http://php.net/ignore-repeated-errors2 _1 J4 }3 Q( M' m% a4 A: J/ [
  493. ignore_repeated_errors = Off
    8 f+ ]5 A. r: r2 k0 ?; B% Y
  494. . K4 o  b# v* [5 A  R- M( O4 d
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    6 W! f3 G/ o. Q
  496. ; is On you will not log errors with repeated messages from different files or: c4 ?* T* }! n6 Y: F
  497. ; source lines.
    - B. V! _& p) M  D6 c' P
  498. ; http://php.net/ignore-repeated-source& ?  B9 p- k! L/ b! R& e! k3 s! n8 Z% Z
  499. ignore_repeated_source = Off
    # L, r2 }/ d: O- [

  500. # R+ Y* Y3 g, w; \/ G- d
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    0 l$ ]: a1 G! K$ m: V
  502. ; stdout or in the log). This has only effect in a debug compile, and if! i$ @( n6 A  Z0 e% \$ I" e
  503. ; error reporting includes E_WARNING in the allowed list# \, S, G# H# \! l% C
  504. ; http://php.net/report-memleaks2 G9 Z0 H3 J( _& x: y
  505. report_memleaks = On
    & `( F1 J: h3 ]  w+ J7 Q
  506. + q3 Q/ m+ r( Q3 x( ^2 t) U6 N% u' T
  507. ; This setting is on by default.
    7 j4 i* T6 A9 _1 o9 X  i3 z
  508. ;report_zend_debug = 0
    & e6 v1 j  r0 z: k) S# u( i
  509. + [7 d9 G. N/ ^3 W
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    5 l" i( ]9 f# ]1 ]5 h# [$ R5 Q2 L
  511. ; to On can assist in debugging and is appropriate for development servers. It should, Q- D- A# e1 z( u
  512. ; however be disabled on production servers.; o% `' ~- ~& R( x+ W
  513. ; Default Value: Off
    " k2 X7 G/ Y7 y' I. H
  514. ; Development Value: On( P1 d5 U, x  x5 q; x
  515. ; Production Value: Off
    0 h7 s; I0 w* @) l7 \1 c
  516. ; http://php.net/track-errors" f+ e& l6 C8 C6 F
  517. track_errors = Off
    * S2 n. X" C2 B5 x' r+ Q1 @$ D
  518. + {9 X7 X' y% P. b- T* T
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    1 t! {' R& c: E" c1 Z9 a
  520. ; http://php.net/xmlrpc-errors
    ) h5 m+ k) f. ~$ u" ^! I
  521. ;xmlrpc_errors = 04 E' U  [" ^3 g8 L2 K! K; ?5 I  u# \

  522. 9 C0 C! c0 p! {5 o
  523. ; An XML-RPC faultCode
    4 S2 H, Q3 v, p+ d
  524. ;xmlrpc_error_number = 0& k) G  N8 ^9 P+ ^6 ]5 ]
  525. 4 d3 f7 e8 e/ |. L
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ' k" x& J$ E7 C0 b
  527. ; error message as HTML for easier reading. This directive controls whether
    " [1 \% [2 K) `/ m7 t8 s: `7 b
  528. ; the error message is formatted as HTML or not.7 v% k& _& ]3 }2 ]
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # T) f& R4 r2 r' ~: E( s/ w7 L
  530. ; Default Value: On
    + h: L9 ^0 H3 e9 t- c: x
  531. ; Development Value: On
    % y8 b1 r' G& j5 Y& c
  532. ; Production value: On) ]$ n7 `! i% ^  u# n! u
  533. ; http://php.net/html-errors
    # ^0 \+ J0 k. A/ ?# o% V
  534. html_errors = On
    " U, M  @; w  D+ U1 Q, A! n

  535. * W8 h4 K  f5 |! a+ I
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP; I) C; p& b( V8 X& h) s2 Y
  537. ; produces clickable error messages that direct to a page describing the error
    0 g8 Y" ?2 z$ W* T; b" Q+ G
  538. ; or function causing the error in detail.
    ' d- J# p  W" |1 b& a4 j; y
  539. ; You can download a copy of the PHP manual from http://php.net/docs3 y% |' s$ ^3 `# G# A
  540. ; and change docref_root to the base URL of your local copy including the
    " X. q4 {5 N1 C# W4 \. L
  541. ; leading '/'. You must also specify the file extension being used including+ J- j' Y, p6 I+ T$ j7 [8 D
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which2 x# y1 F+ A4 F8 }
  543. ; case no links to documentation are generated.
    : N& g! Z- y7 f5 ]  K
  544. ; Note: Never use this feature for production boxes.
    % K) r6 o- @7 X3 \* a1 m$ j: b
  545. ; http://php.net/docref-root
    % j* Q1 I/ D; M( v# g- C6 O- e3 Y
  546. ; Examples
    ) R/ }' u$ b  f8 V
  547. ;docref_root = "/phpmanual/"2 u( I5 \0 j7 v  P2 p) t

  548. " \- N1 U! m" S1 {9 g& {! M0 e
  549. ; http://php.net/docref-ext
    ) P& `: j* B' j! q) A& o
  550. ;docref_ext = .html9 N5 V  B$ q9 j0 o1 ^# ^3 Q
  551. : `3 B- _# F" |7 |9 G) `" i
  552. ; String to output before an error message. PHP's default behavior is to leave
    . K# O# @5 N# E
  553. ; this setting blank.
    ) V5 P: b0 W) ?; o% Q
  554. ; http://php.net/error-prepend-string
    5 l% U- R& a1 y/ H4 ?+ Y3 a& w
  555. ; Example:# R' F, U/ O5 E( Y' h& b9 G$ X; Z$ D
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    * R  G: W; r7 @0 C* n# M
  557.   u' B! Q2 J. T9 d
  558. ; String to output after an error message. PHP's default behavior is to leave$ R9 M* T# I4 k& f6 q
  559. ; this setting blank.1 o5 p: s* ]% C
  560. ; http://php.net/error-append-string2 e& Z$ R: R. e/ h- H4 m" O) k
  561. ; Example:8 f8 m, P; ~. P, s3 i! ^% g* r
  562. ;error_append_string = "</span>". M: C. ]+ F5 F0 j8 r- m
  563. $ f9 |+ W) g, J  Q
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    + w% C' B9 n. j
  565. ; empty.
    1 f8 z: t8 F; R8 ~9 N2 T% I3 q. q, |
  566. ; http://php.net/error-log. Y2 L2 z# v& b& Q5 X% ~% r
  567. ; Example:
    ; Y$ g; W  |4 G+ A
  568. ;error_log = php_errors.log# U1 ?0 u) g: |1 ^8 d
  569. ; Log errors to syslog (Event Log on Windows).
    5 H* i: n3 u2 U0 ^9 B" G
  570. ;error_log = syslog4 w8 B$ B. K8 @. l# w

  571. / Q: [2 s, O8 \- B0 I2 p
  572. ;windows.show_crt_warning# }& R& a- w3 p  b" l/ I/ z
  573. ; Default value: 0& h; f' a0 I, _3 R' [; f
  574. ; Development value: 0
    6 t( U) m1 i7 v
  575. ; Production value: 02 B( f7 I9 Q! y, G- [

  576. , R' F5 O& A. |
  577. ;;;;;;;;;;;;;;;;;
    6 L& q2 x- c7 [' y6 k
  578. ; Data Handling ;
    6 s6 z7 H8 @# ~& q
  579. ;;;;;;;;;;;;;;;;;' h. h6 p3 Q% q& i0 C0 ^6 x; ]1 n
  580. * H/ r4 }9 Y. @; E/ h
  581. ; The separator used in PHP generated URLs to separate arguments.: I  Z/ t1 {; K$ m6 n8 ~! l
  582. ; PHP's default setting is "&".
    " d9 l+ f9 v$ S
  583. ; http://php.net/arg-separator.output
    $ t$ q2 n+ [  V' q, f3 l
  584. ; Example:
    ' W6 m1 j/ }$ b* O3 D  R0 T- {* G
  585. ;arg_separator.output = "&"
    6 K( i6 m# N% K, p5 Y* p0 z
  586. * q9 P/ Z; y4 {8 A$ r4 v. C) j
  587. ; List of separator(s) used by PHP to parse input URLs into variables.6 z( F# `& c; r! Y
  588. ; PHP's default setting is "&".
    6 b" b/ m/ [- {
  589. ; NOTE: Every character in this directive is considered as separator!' b0 o4 F0 C8 E  w
  590. ; http://php.net/arg-separator.input
    8 ^) @3 r2 x9 Z, Y& a
  591. ; Example:
    ; w2 I9 G: t, G- Z" K
  592. ;arg_separator.input = ";&"
    , p" b- N4 e, u/ o' p: I! S: ^
  593. ; S. L) q3 g! T8 j7 ?; M% K
  594. ; This directive determines which super global arrays are registered when PHP: \" v$ r9 Y0 X
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super7 w- y+ E3 ]; o* @+ B( \
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ) l0 S$ ]6 X$ D* m$ i8 Q
  597. ; paid for the registration of these arrays and because ENV is not as commonly4 A1 B! p& L2 D2 J9 E0 X
  598. ; used as the others, ENV is not recommended on productions servers. You
      Y% V" S, h1 M* W! H1 o! n1 s1 `( z
  599. ; can still get access to the environment variables through getenv() should you4 f7 O1 m% V8 R
  600. ; need to.1 Q! u, ^( t3 S( ~% U; M
  601. ; Default Value: "EGPCS"
    , B& m! i! _9 ?  B# {" R
  602. ; Development Value: "GPCS"
    4 B* G, ]# b$ v( l  R* ~, h
  603. ; Production Value: "GPCS";
    " r- S6 @/ z3 p) x3 X0 ]
  604. ; http://php.net/variables-order0 l2 j6 I- b, r, s# C( o/ d
  605. variables_order = "GPCS"6 q- \9 C( m1 v$ H

  606. " K. s, j. x$ h) r
  607. ; This directive determines which super global data (G,P & C) should be: A8 Z* ]! q8 p4 B* U$ b( ^7 k
  608. ; registered into the super global array REQUEST. If so, it also determines8 ?/ u1 B  m7 S% E9 I2 J- R  C$ H
  609. ; the order in which that data is registered. The values for this directive
    # ~0 }1 O- v# k& v
  610. ; are specified in the same manner as the variables_order directive,
    : O7 t* c& M* h
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ! d5 w7 g% J0 Z/ _4 m8 E1 Y
  612. ; in the variables_order directive. It does not mean it will leave the super
    8 ?! m4 o  [+ c$ K
  613. ; globals array REQUEST empty.
    $ y# r; ^4 A" _3 L2 q
  614. ; Default Value: None) C7 U9 Y. F9 |) `! \' G
  615. ; Development Value: "GP"
      n. N* W/ P$ k; L1 B7 M
  616. ; Production Value: "GP"
    ) A% P1 @! J9 G1 {# b2 b
  617. ; http://php.net/request-order
    . ~% k7 e+ J+ S
  618. request_order = "GP"
    * m3 S1 v! p6 [% `% Z9 d
  619. 0 c7 C1 o: }4 h2 k  @9 b5 [
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ; w7 G' P/ c0 a+ ^8 z, i2 V; B
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    9 l% V( Z* m" @% i1 L  {
  622. ; is invoked. $argc contains an integer representing the number of arguments
      X' M1 i$ e5 A3 t* ^
  623. ; that were passed when the script was invoked. These arrays are extremely
    ( w7 W2 l0 P: ^4 `( P9 r
  624. ; useful when running scripts from the command line. When this directive is% Q- x  p. P( D. G
  625. ; enabled, registering these variables consumes CPU cycles and memory each time# r  y2 {# z; z, P! [2 k
  626. ; a script is executed. For performance reasons, this feature should be disabled
    & a6 @- x# v8 k9 k' ^8 R
  627. ; on production servers.8 |$ p3 n6 N4 U0 X0 z
  628. ; Note: This directive is hardcoded to On for the CLI SAPI9 F+ d. n, l; ~$ x3 X' O' g$ T. ~% X
  629. ; Default Value: On/ H, i) @' Z; ~; O
  630. ; Development Value: Off' O1 r2 R4 q5 E+ |" D! i& {
  631. ; Production Value: Off
    0 A9 W8 o2 ^+ w6 C% S) Z* E% s
  632. ; http://php.net/register-argc-argv
    3 O. T9 ^9 M; C* F5 [- ~
  633. register_argc_argv = Off/ O% Y. @7 V, D9 I/ |

  634. ; F: I: h# y; T3 R
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" \2 z$ M  E. P) r# C
  636. ; first used (Just In Time) instead of when the script starts. If these, t& `: F) m+ T! M" }* M4 g2 Q  k
  637. ; variables are not used within a script, having this directive on will result
    * c3 E6 m4 E# z
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled! W4 Q; |# j8 {: C: K4 p
  639. ; for this directive to have any affect.
    * o/ H; g9 I# z  i
  640. ; http://php.net/auto-globals-jit
    . Q8 d5 M' d/ u# j" x
  641. auto_globals_jit = On$ ]9 K0 _; G) a
  642. 9 L5 {' U8 R# D) E0 \7 n4 O
  643. ; Whether PHP will read the POST data.! _# E& d- [9 ?
  644. ; This option is enabled by default.8 b1 P0 W" Q. D8 c: y1 s$ ^5 K
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST1 O6 G0 V1 I6 v6 Q: }: p# i8 \
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    " ]% v4 X+ j; u& G% l
  647. ; POST data will be through the php://input stream wrapper. This can be useful+ ]  A' D" t/ Q" |0 M1 Y
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.: b% K6 }4 L! _
  649. ; http://php.net/enable-post-data-reading' J1 ?; y6 A: b; J" h0 l
  650. ;enable_post_data_reading = Off! a( ?2 I: T. r2 B  R: N
  651. ; V+ Y3 C' u; e" u% _) C
  652. ; Maximum size of POST data that PHP will accept.
    8 l' E' e( a$ T% z: F& D0 H
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading+ U) z1 S) D1 M5 Q1 o
  654. ; is disabled through enable_post_data_reading.* v3 H+ C2 ~2 d
  655. ; http://php.net/post-max-size
    * L! q# p+ X' U7 o& h
  656. post_max_size = 50M
    8 Y/ n: d" K; K) W

  657. 7 a: w7 Q3 V# x' e
  658. ; Automatically add files before PHP document.: o! h- P* N& C  T5 I
  659. ; http://php.net/auto-prepend-file+ H, ~8 D9 H6 W6 a) {
  660. auto_prepend_file =
    / r$ U+ S: G" @2 g/ C5 ^
  661. 8 v5 w- u2 c; q
  662. ; Automatically add files after PHP document.% P( G+ \" E& ?3 h: ~. c; \1 w* x
  663. ; http://php.net/auto-append-file& b2 H' g3 U! W
  664. auto_append_file =
    8 Z% L! ]9 B: T
  665. 6 G7 F7 j9 p. s8 v& A& ~$ `. d, P6 L
  666. ; By default, PHP will output a media type using the Content-Type header. To
    5 |$ B" l! d  G% T1 H3 x9 [
  667. ; disable this, simply set it to be empty.: g0 n/ r) ?, N1 {
  668. ;
    & r4 k) x$ y3 S- P2 g3 L% P
  669. ; PHP's built-in default media type is set to text/html.; i, _3 y1 b+ U$ t
  670. ; http://php.net/default-mimetype/ f4 ]" K/ b" Z3 ]" L
  671. default_mimetype = "text/html"! l- ?( d6 I  w% L. G$ T! H
  672. 9 H" E% f! h" \+ t7 |8 `$ w& r3 e% s
  673. ; PHP's default character set is set to UTF-8./ O$ f2 R2 _/ S8 \' x9 J
  674. ; http://php.net/default-charset
    5 O. y  p2 J9 Q& k
  675. default_charset = "UTF-8"
    ' r& V3 T, L% ^7 K2 Q- d$ P
  676. ; X/ B. V" X8 G; v
  677. ; PHP internal character encoding is set to empty.
    ! R. N6 F7 A" |* H# R' j
  678. ; If empty, default_charset is used.
    ( e$ r, _2 v6 x! d
  679. ; http://php.net/internal-encoding3 K& p% w1 ]9 s1 Z) W, b
  680. ;internal_encoding =
    5 M) n8 H* c# M1 v0 L4 O( @
  681. 3 |8 J2 ^- d) y7 M$ E
  682. ; PHP input character encoding is set to empty., P: _% C4 ?& g# i1 V
  683. ; If empty, default_charset is used., b2 |, R* ]- t1 A) ~8 m
  684. ; http://php.net/input-encoding
    ! q! M" X% b* {
  685. ;input_encoding =
    - E- O9 m3 h/ |+ L

  686. & b) S" I' b: E6 Y: U* R
  687. ; PHP output character encoding is set to empty.! X1 X2 f7 C% W; ^5 W- f
  688. ; If empty, default_charset is used., }/ l9 w/ U& z' k
  689. ; See also output_buffer.
      k+ w: m# M. ^  e. J) T4 T% @
  690. ; http://php.net/output-encoding
    6 N- i% Q1 ?# D; Y
  691. ;output_encoding =  a8 Z. R: F7 t! L, |$ s4 R* F
  692. 1 ~8 ?6 y% [$ E! b( F3 L5 l. K. K
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & F% m6 I5 C# Q8 i  ?( L
  694. ; Paths and Directories ;4 L* J+ S; J/ ?% ~" f6 i" @
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;* S: k/ _% F/ f. w& [2 Y0 g7 b
  696. 4 o0 X+ p( U' t. P. G! k
  697. ; UNIX: "/path1:/path2"/ A' T/ f% c$ ?& ~
  698. ;include_path = ".:/php/includes"
    : B- t- ?5 ]5 z% j4 w0 a/ N, Y
  699. ;
    ! Z6 u3 [  e6 _; b# q# d9 W) A' _! ~
  700. ; Windows: "\path1;\path2"
    7 X+ w% G5 D7 i6 }
  701. ;include_path = ".;c:\php\includes"2 z) I8 X2 G. i/ O& I  U4 Y( n- k+ {
  702. ;5 ~) E$ x- [& j# M3 A5 \, m& X
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"" }1 h& ?: [) F" h5 Y
  704. ; http://php.net/include-path/ T$ R( g7 ], `. c
  705. 6 k  `' ^4 k3 r
  706. ; The root of the PHP pages, used only if nonempty.
    " r. d$ X% d; ]( ]) p% [
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + o; D- h, d$ R
  708. ; if you are running php as a CGI under any web server (other than IIS)* ~& E0 n, C- C. T: [! P
  709. ; see documentation for security issues.  The alternate is to use the
    , d  q/ n) q4 K) O
  710. ; cgi.force_redirect configuration below
    4 o1 {/ W: o- v9 i) ]9 W
  711. ; http://php.net/doc-root
    ) G5 C9 B2 u9 F* q2 f
  712. doc_root =' n. D% O9 a7 y4 q  T; J& |
  713. " d' @+ G. W+ D( K* w9 \5 u' c. }
  714. ; The directory under which PHP opens the script using /~username used only
    - s* r: ?" q. g: x4 _4 p
  715. ; if nonempty.
    / X# M# s. f4 I( P, W# B
  716. ; http://php.net/user-dir2 Y; S0 `( ^. f$ I5 f
  717. user_dir =+ P1 `: Z) R1 W1 w
  718. ( R' l1 ~: v9 W  Q, I5 n( z
  719. ; Directory in which the loadable extensions (modules) reside.
    8 K+ k# F; }  x0 _' W7 M  S( i8 _
  720. ; http://php.net/extension-dir
    - i2 s7 S2 j, m* E* @
  721. ; extension_dir = "./"
    5 n! ~  s& s- ~5 L
  722. ; On windows:3 }, h) ]7 i; d& y
  723. ; extension_dir = "ext"# a+ Y# F+ x8 T# j! ^

  724. 8 T& r0 B# w/ W! f5 A
  725. ; Directory where the temporary files should be placed.- a  n7 F/ p7 I) ^
  726. ; Defaults to the system default (see sys_get_temp_dir)0 M5 n. C+ C& }; k+ H6 w0 k
  727. ; sys_temp_dir = "/tmp"1 m/ N( l  d: H/ ^$ c/ U

  728. + R  j/ ^4 n. y; {: G
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    0 C  E- x9 y- [
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    $ @, z5 T7 k2 f: [3 l
  731. ; disabled on them.4 @( |5 e* G7 o: `, t' B
  732. ; http://php.net/enable-dl
    " Y3 k0 l; w8 L+ {: p+ E4 E
  733. enable_dl = Off) K3 A  j/ F& N  J* z7 I

  734. ( q7 B/ e+ g: H7 ?' J7 v
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    5 r' f" Q2 \: K
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can, n0 \2 M" z/ e9 k$ W
  737. ; turn it off here AT YOUR OWN RISK  S- N4 r& _* Y2 N: r- ^
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**3 O. F) a1 d& g3 C2 y& W
  739. ; http://php.net/cgi.force-redirect# M, X( D# _0 f+ k) k0 x0 {0 N: u
  740. ;cgi.force_redirect = 11 Y: F2 G) q; y2 p
  741. : R( J% p3 m8 M. r$ X$ n
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    7 ]# ]  `2 ~2 m8 r* N2 L) W
  743. ; every request. PHP's default behavior is to disable this feature.
    ! c# ?$ u) B- ^+ |( `# h5 v1 h
  744. ;cgi.nph = 1
    , m0 M. v  b& |1 N: X$ u; h
  745. 1 d3 c5 w) c. i# A6 {, c
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    9 d% [% i% h$ ]
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ Q2 W* F# M3 z  p! `' q! K! T0 o
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    , P) M! x" {* _5 d/ ]
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST./ X1 b. s6 W! C# l9 v
  750. ; http://php.net/cgi.redirect-status-env1 [7 w  d8 t0 l9 }; Z
  751. ;cgi.redirect_status_env =
    $ _4 Z# o, K1 C  F2 ~
  752. 3 y' x7 e5 r; R1 m/ A& {) ?
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    7 l3 G' ^4 N5 Q- G
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok# U3 F1 q, G# n2 m
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    7 S; R) M: H! a2 J% q
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting: ~6 v/ n+ z4 z; T. w7 X+ k0 N
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " ?6 [& J3 w+ S+ ~1 \( u* O
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.' U' E" W+ B3 M; J& \" c
  759. ; http://php.net/cgi.fix-pathinfo+ _: ]7 z& k" K! h
  760. cgi.fix_pathinfo=1
    6 }. P" ]- z4 l& U
  761. 4 _1 Y5 s3 a1 ]( J( C0 v. u
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  Y: ]/ N1 z0 d+ \& f0 C1 f
  763. ; of the web tree and people will not be able to circumvent .htaccess security.' B' ?  i" T9 W" y. ^$ G
  764. ; http://php.net/cgi.dicard-path
    4 V. a9 }9 s6 `+ d' ~* s) k2 P
  765. ;cgi.discard_path=16 T% f9 d: A5 q9 y5 q
  766. 1 E: }2 b  l! f% L& U
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : B, r0 X2 A7 N+ _4 L' v
  768. ; security tokens of the calling client.  This allows IIS to define the6 c7 y3 n+ Y: ]
  769. ; security context that the request runs under.  mod_fastcgi under Apache4 o+ C) ]& r8 ^0 q/ V, `
  770. ; does not currently support this feature (03/17/2002)
    0 y9 G: K. P9 B% f& U! n
  771. ; Set to 1 if running under IIS.  Default is zero.% }& Q5 r. u, L+ n" w; k
  772. ; http://php.net/fastcgi.impersonate
    8 B4 H7 L- X7 P  R% n8 n6 h
  773. ;fastcgi.impersonate = 1& ]! i- _' R8 @' e: f4 t5 D/ x- r# E4 ?

  774. 3 S8 T: A4 N' D# Y) y* [
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / C4 ^0 d6 v/ [* n! |
  776. ; this feature.( ^1 O2 t# o# }8 U% J
  777. ;fastcgi.logging = 0) X: B3 N9 }. ?7 x$ A! d# O( |8 ]7 O
  778.   [& _1 t2 N. r) r% o0 s
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 H. G1 T9 z. J9 e" r1 K8 |' L
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    7 F4 X) o$ [  H4 Z
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    : n  f4 h% V/ Z& V+ ?$ X0 A3 v
  782. ; RFC2616 compliant header.
    / K& @/ _% t$ G( \! x8 g
  783. ; Default is zero.9 G( S; j& I$ n4 g
  784. ; http://php.net/cgi.rfc2616-headers  i$ J3 r. i* W1 m: y% V
  785. ;cgi.rfc2616_headers = 0
    2 q. u- ?9 M' y0 D% b- X2 ^

  786. 9 I, W  ^) }/ h; R
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    4 \  w+ J# |. e% Z$ K
  788. ; (shebang) at the top of the running script. This line might be needed if the
    5 s* D" A2 ?* i" T. P8 t
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI1 z- `) ~$ Q' R8 I# }( _& X
  790. ; mode skips this line and ignores its content if this directive is turned on.
    0 }5 G  g& b( I. C4 `
  791. ; http://php.net/cgi.check-shebang-line
    ! S5 ~7 {. w$ ?4 `
  792. ;cgi.check_shebang_line=1
    + ^/ s1 I( ?0 S+ z! y9 ]

  793. + ?, k" f" Y% G7 w/ a* f5 h
  794. ;;;;;;;;;;;;;;;;2 a8 W9 n# [2 w8 A1 u3 D3 t
  795. ; File Uploads ;% R" J' r* A2 |* |
  796. ;;;;;;;;;;;;;;;;! ]( B' U$ k) x% b
  797. 7 j" t) [* I4 e4 `. {
  798. ; Whether to allow HTTP file uploads.
    : U* E( j' Z5 r1 Z+ i
  799. ; http://php.net/file-uploads7 i/ D: L/ a; e! k
  800. file_uploads = On1 m. A7 x$ Y/ ~# w, d
  801. 6 N, c8 K, j5 k4 ]7 I& n. ], [& M
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ! l- ^3 a! P: b3 e# `5 [0 Y
  803. ; specified).
    # t7 u3 q( P' J5 q7 S# D
  804. ; http://php.net/upload-tmp-dir: }$ D% E3 b: I$ j" u
  805. ;upload_tmp_dir =
      D5 w* `7 B% N# C3 o' H
  806. - Z" v- R5 j% |* n" M! i8 S& R( }% \
  807. ; Maximum allowed size for uploaded files.' y; \) G+ n' h; i
  808. ; http://php.net/upload-max-filesize
    # z# B8 ]0 R( b+ ^& `6 v
  809. upload_max_filesize = 50M
    $ ]. ^$ R" P5 Y7 N- ^2 p
  810. $ V' F$ i( A+ K3 {/ O' Y; c. A
  811. ; Maximum number of files that can be uploaded via a single request: o! Y2 v. \+ d
  812. max_file_uploads = 20* D$ k5 h. x5 ~

  813. 0 C: ^' @) I: Y6 Y+ _
  814. ;;;;;;;;;;;;;;;;;;
    0 y  f( W0 K( f- k
  815. ; Fopen wrappers ;3 a8 N) L; Y$ T' g  j$ O7 t$ x4 R
  816. ;;;;;;;;;;;;;;;;;;
    $ N: S1 z0 O  x( i) V/ O
  817. ' N1 L$ k9 b' O. B; t) _: l/ r
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.- T* p4 E) Y0 X/ d' c, {4 d" n
  819. ; http://php.net/allow-url-fopen
    " I1 t: v# f8 j. s2 k7 D
  820. allow_url_fopen = On# U: _2 i5 X% @

  821. 7 s1 A! c' A0 @! ~1 U3 k& r
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    , F" H9 l6 X- z0 J. a0 p% z
  823. ; http://php.net/allow-url-include" ]" P! m3 p5 O6 Q
  824. allow_url_include = Off
    : |9 N% X4 n7 M0 H8 A. Q! H' P

  825. $ P5 I% _9 O: J6 m4 _4 r) {; a
  826. ; Define the anonymous ftp password (your email address). PHP's default setting; [5 N- i) }  L
  827. ; for this is empty.
    , n1 I; i" [& Y+ L0 Y4 J
  828. ; http://php.net/from2 j) O0 C6 d2 `# B! `- R! l
  829. ;from="john@doe.com"
    , e$ W+ q2 y. ?
  830. : L1 q6 N: H4 v  T: G0 s6 e
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    3 s, {: a7 m9 U) h
  832. ; http://php.net/user-agent- f5 e2 g5 s% x5 @3 D
  833. ;user_agent="PHP"
    " K/ S# H) Y7 e( D0 _. z. @
  834. 7 H/ U1 v  Q+ _/ y0 Q! J
  835. ; Default timeout for socket based streams (seconds). s# Q4 M- ]) v& O, t. @0 n
  836. ; http://php.net/default-socket-timeout6 [5 W! w3 P2 i. f
  837. default_socket_timeout = 60
    . M& x2 y' s* H

  838. & o9 I$ s! G; V; {
  839. ; If your scripts have to deal with files from Macintosh systems,
    , C* G8 R& n( k5 e% P) A: M
  840. ; or you are running on a Mac and need to deal with files from* j9 T# q/ m6 v: `# h; z- n2 R" R
  841. ; unix or win32 systems, setting this flag will cause PHP to( g6 P% }# e  g* I* Q+ n
  842. ; automatically detect the EOL character in those files so that
    . r: p1 U, `- @+ ~- t, G# Q  ^$ R
  843. ; fgets() and file() will work regardless of the source of the file.& ]2 R- a$ s/ T2 T4 d
  844. ; http://php.net/auto-detect-line-endings' F# l, e3 }7 z' b8 v, e
  845. ;auto_detect_line_endings = Off* {! |' \  ^+ Z, ~1 |, Q5 [
  846. ! l( L7 u0 p8 F" H* H
  847. ;;;;;;;;;;;;;;;;;;;;;;
    2 M4 V0 w; T2 z. v" k0 A. E
  848. ; Dynamic Extensions ;
    , b+ n- \- X# ]5 r% k0 I- g
  849. ;;;;;;;;;;;;;;;;;;;;;;0 C' J  k" |5 z3 I& I- M" d+ S3 k+ k2 {
  850. & D+ {3 ^% ~( b8 J, q
  851. ; If you wish to have an extension loaded automatically, use the following3 v7 D' ~; _, ?/ Q0 K$ y. r
  852. ; syntax:9 p+ K( s% [. D2 h+ ?1 H. Y/ J( m
  853. ;
    ' V3 a  h+ k* b* I" m' k# [5 r9 @
  854. ;   extension=modulename.extension: N) q+ ^1 h: X2 d( c
  855. ;. J' [! X& k! @) d* M
  856. ; For example, on Windows:
    0 q5 `6 w# [: C$ x% }1 E
  857. ;, X* a0 w1 M% k# K
  858. ;   extension=msql.dll
      H7 J5 E+ K. Q8 A; d3 H5 B
  859. ;) r2 p7 e; P3 n+ o: b+ a, C7 M
  860. ; ... or under UNIX:
    ' t: D  ^: s% g3 W, q7 v4 U
  861. ;- h2 f/ n0 H3 ?$ r
  862. ;   extension=msql.so
    & b' ]( g" T9 n5 D7 `& n
  863. ;7 e# F) G& s) I
  864. ; ... or with a path:
    5 Z+ d1 F3 X" x' t9 M5 i
  865. ;# ^+ T8 P# D  J7 M
  866. ;   extension=/path/to/extension/msql.so8 y! s7 r& c9 J) ?, |% p' T8 u! u8 E
  867. ;$ v6 M% x) T) t% y6 E: D+ I
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ; S: c% S1 P+ F+ z7 R
  869. ; default extension directory.! O" Z# |5 c) K, ?9 j7 B" D
  870. ;5 W' C! G% `  k& U* ?# K
  871. ; Windows Extensions
    % X' U# o1 Q! u" E3 v5 y& g0 Y
  872. ; Note that ODBC support is built in, so no dll is needed for it.: F, p8 X6 h" t' v: u. M
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    4 C* {1 s& }( e- t( _
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    5 K" N$ V+ t: U3 q7 \
  875. ; Be sure to appropriately set the extension_dir directive.+ J9 d- @2 D$ G, J( q) }/ _
  876. ;
    ; d( z; b" z# F" H5 v" P' X
  877. ;extension=php_bz2.dll; k& o5 w* k8 j4 k0 `
  878. ;extension=php_curl.dll
    ' O$ k% ?) h3 V; n/ K! U
  879. ;extension=php_fileinfo.dll4 d& P" A0 A5 ]" V4 A3 Q8 x
  880. ;extension=php_ftp.dll
    $ y" N. a' Z6 z, C0 M! n
  881. ;extension=php_gd2.dll
    1 Q7 V( D0 ^' `5 `. e2 D4 T3 M
  882. ;extension=php_gettext.dll9 d( O/ [4 g- ?# C' d  b
  883. ;extension=php_gmp.dll2 D, b$ d. Z: D
  884. ;extension=php_intl.dll
    4 ]. @- ~2 N  v
  885. ;extension=php_imap.dll5 H- m. _) f+ J2 Z  @, x
  886. ;extension=php_interbase.dll
    1 M" P( l0 z! a  X
  887. ;extension=php_ldap.dll
    $ u- h- `% M0 A7 N. ^. Y2 d
  888. ;extension=php_mbstring.dll
    $ \0 C3 t  ^( G" |
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ) K( V" Y( o, f+ a8 ?9 y% i
  890. ;extension=php_mysqli.dll( l4 D4 A+ C1 u5 X2 s
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client: f& _8 W0 l% d
  892. ;extension=php_openssl.dll# X" a( \( k& W, X  j- i8 s
  893. ;extension=php_pdo_firebird.dll/ x4 B$ Y( S* o
  894. ;extension=php_pdo_mysql.dll7 Y7 }' Y" G! L! {" t
  895. ;extension=php_pdo_oci.dll
    - m8 \4 ?- D' k- X, n
  896. ;extension=php_pdo_odbc.dll2 y: f% D- D, e, v/ f
  897. ;extension=php_pdo_pgsql.dll9 P, V2 y0 x0 _; r' `* _  b4 r8 k
  898. ;extension=php_pdo_sqlite.dll9 B" [/ @% [4 z& M( t. T4 U3 e' C
  899. ;extension=php_pgsql.dll0 |$ e3 X& _$ r) \
  900. ;extension=php_shmop.dll7 r7 ~% \3 E& A' U3 H
  901. % K) n: b  U. l
  902. ; The MIBS data available in the PHP distribution must be installed.
    $ l5 ?# b. M) u5 S$ M7 x1 y
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    4 L& [9 ?1 ~5 O
  904. ;extension=php_snmp.dll
    8 y" [! E# w9 M9 `
  905. 4 H( N* ?& m2 `( q
  906. ;extension=php_soap.dll
    " X5 f1 ?% z- E
  907. ;extension=php_sockets.dll* P5 s* O, |3 W7 Y
  908. ;extension=php_sqlite3.dll( ?: s: {8 M0 i- j# w
  909. ;extension=php_tidy.dll
    1 U4 l! O7 ~( S0 Y/ C- l
  910. ;extension=php_xmlrpc.dll
    ( s3 ~/ d! r8 p' ~) s6 r' Q8 c- q
  911. ;extension=php_xsl.dll, X5 y3 ?' ^! {" g% {! N  K8 y6 ?
  912. 8 T. H, |1 Z; o% X; l6 G% Y
  913. ;;;;;;;;;;;;;;;;;;;/ `, Q; m' j, u( E6 L  R( J: V& x
  914. ; Module Settings ;
      P- q: l0 X# `* a. ~/ m- V( a  L
  915. ;;;;;;;;;;;;;;;;;;;
    5 _. x2 y" I/ I$ ]" c% ~
  916. 3 q( s3 q& O  U# J
  917. [CLI Server]- ?/ ?! ~& K! Y. Y3 A
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ( S' S- u7 E7 r. h5 [! g
  919. cli_server.color = On: M0 Y' z, Z1 T3 o6 J9 V% T( ]

  920. - P8 |0 r- W$ p: m' q* O
  921. [Date]& l3 ]" I  e9 O8 N: f6 _( E( r8 F
  922. ; Defines the default timezone used by the date functions
    / w# f* h! R3 N- i1 _" B- a; k
  923. ; http://php.net/date.timezone
    6 {0 l- K" _  B/ A
  924. date.timezone = PRC1 a* d2 l  I# h4 h( I$ `5 Y1 N0 e

  925. . N6 g$ C! A! f8 O5 a1 V  U3 A
  926. ; http://php.net/date.default-latitude1 B3 m. Q% }! H
  927. ;date.default_latitude = 31.7667
    2 _4 a% k4 e1 ^3 ?1 r& [

  928. " J0 ~6 Q% @7 ^8 T) p5 i
  929. ; http://php.net/date.default-longitude
    + a! _: X; W) R: E
  930. ;date.default_longitude = 35.23331 {! t% g1 q; }( g2 Y4 b; f6 g
  931. 5 E# @! c( A: c
  932. ; http://php.net/date.sunrise-zenith
    4 B3 c* O' l+ ~& T" y0 a) h
  933. ;date.sunrise_zenith = 90.583333
    " \  I: z5 u4 Q+ Q- n
  934. " k4 O) @9 j5 z9 o# w
  935. ; http://php.net/date.sunset-zenith
    % G$ `, q+ B; [& V
  936. ;date.sunset_zenith = 90.583333  I8 Y7 e( b' g5 v
  937. $ y5 W. C8 r1 R7 Z" j
  938. [filter]( Q1 P+ `; j$ z+ e/ _7 D5 Z2 G
  939. ; http://php.net/filter.default
    0 X; t$ L, K6 P. [1 t8 d, r
  940. ;filter.default = unsafe_raw
    ' p1 n& Z4 v# [( }

  941. + v" J& `8 `  p' D. G) k
  942. ; http://php.net/filter.default-flags, d3 m% k6 ~: }( r5 j! l7 j7 {/ i
  943. ;filter.default_flags =7 Y- u3 X. P  B6 |
  944. " O. b1 }+ v& V; W" O
  945. [iconv]' G2 \- ]. a- i/ R. u+ ?
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.( X7 B  @7 x6 E7 B$ P9 E+ N' L
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.4 N+ `8 p: p7 s& [! K( t
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding8 q' y. E% d" r; g" R/ ]' O  E
  949. ;iconv.input_encoding =
    ( Y+ I$ k; l0 K4 \) M+ F1 T  u6 O

  950. / H, C3 x1 n- D* |. O
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 Y% b$ h& n" G5 s5 O' |
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! g2 n+ f. x0 h! A
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; }9 K8 L  N3 V" E- b" g' S
  954. ;iconv.internal_encoding =& ^, H) N% S! ~0 y, c5 w
  955. 8 V, i- p+ j5 H% L, Z' Y
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 y" A1 n! q& o- M& ^# R6 H% C2 f% @
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.! O; q8 b$ j* k) @3 i1 K
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ( J5 {+ l' Y7 c, c3 F) z* x4 j
  959. ; To use an output encoding conversion, iconv's output handler must be set1 e3 S) s3 z) j. v
  960. ; otherwise output encoding conversion cannot be performed.
    , o8 q) j0 D' J( x
  961. ;iconv.output_encoding =
    6 J$ t. W2 c) G8 N

  962. $ i7 m: \! y9 g5 A
  963. [intl]
    , z' ^: U; T0 P8 V  p$ t0 E0 `
  964. ;intl.default_locale =7 Q+ Y0 l# N2 b1 E+ s. F. x
  965. ; This directive allows you to produce PHP errors when some error8 w  ]9 j0 _) M5 B  `' U3 b
  966. ; happens within intl functions. The value is the level of the error produced.
    " {9 i5 W% S+ Y# Y
  967. ; Default is 0, which does not produce any errors./ i# P6 P4 c( S; X
  968. ;intl.error_level = E_WARNING
    ! x# A. j# V3 g1 j; C' |8 }
  969. ;intl.use_exceptions = 0
    7 t( C5 R5 |3 T. ]0 P1 y. D- `) Y! h
  970. / m- V0 @8 s" z1 p* n# K, V
  971. [sqlite3]% L4 C: z1 g  f4 B# N
  972. ;sqlite3.extension_dir =; o: g6 v! e# {
  973. # ~% M- v( k: g) T$ B3 [/ o3 Q! c
  974. [Pcre]
    7 m; f2 ~% Q* T% \
  975. ;PCRE library backtracking limit.
    * H$ d/ n( ^8 q1 D5 }# p, m, F
  976. ; http://php.net/pcre.backtrack-limit
      o' g  `2 d/ O* l1 K
  977. ;pcre.backtrack_limit=1000008 @' X6 P* T" U* b' f1 O+ t: J

  978. 6 {" e* z/ f* B* w" I; T. a8 j
  979. ;PCRE library recursion limit." g) Q0 }" P$ s' J
  980. ;Please note that if you set this value to a high number you may consume all; t( e7 o5 ^' v" ]" }
  981. ;the available process stack and eventually crash PHP (due to reaching the$ j7 v& L/ _* S) m% K  `
  982. ;stack size limit imposed by the Operating System).
    * O" g: t" v9 w' E. N9 l5 v# y7 g4 X
  983. ; http://php.net/pcre.recursion-limit
    $ |: i$ C6 Z2 V6 X9 O
  984. ;pcre.recursion_limit=100000+ l- \- @/ f' P% Q
  985. 1 S, O$ T: u: R/ l# H
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    9 A6 m8 l* T( ~
  987. ;library to be compiled with JIT support.& ^8 X$ x0 K# Q
  988. ;pcre.jit=17 j5 Y, }7 R; K2 C4 @; \. ~" T
  989. ! [- D7 y1 l) ^
  990. [Pdo]$ X/ i% R( v1 h9 l
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 ?% s! e% J5 z+ q) }4 \/ D; Y8 j
  992. ; http://php.net/pdo-odbc.connection-pooling- g& d9 _& m0 C
  993. ;pdo_odbc.connection_pooling=strict( T& j0 E0 h7 W) o6 |( d
  994. & |) `3 n9 b5 ^) W
  995. ;pdo_odbc.db2_instance_name( v1 T0 B4 f; I- @" A( S3 D) Z

  996. . p0 D; w% E0 I& R- v$ W: a( d1 t% [
  997. [Pdo_mysql]% X+ [; T% t7 t- N
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 s0 j/ ?" z+ Z- h3 I- ~2 H! `! n
  999. ; http://php.net/pdo_mysql.cache_size7 L' m3 v0 p$ T
  1000. pdo_mysql.cache_size = 2000; P3 Y0 ]+ r0 @0 T! N
  1001. % z. u/ U- @* h( Z5 |2 L
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 o* z7 J/ v- h4 Y8 |
  1003. ; MySQL defaults.  K3 F0 T0 o. x# T- O! k
  1004. ; http://php.net/pdo_mysql.default-socket
    9 P" Y4 [: \9 x4 q6 j: I
  1005. pdo_mysql.default_socket=
    ) R( H9 Z# Z3 j& a. F
  1006. / {+ u& q1 A1 L# s% v
  1007. [Phar]+ Y2 J: n0 N" Q
  1008. ; http://php.net/phar.readonly
    * y* q3 G) _4 ]9 Y6 D% S( H
  1009. ;phar.readonly = On8 G* ~8 F2 j: ~& P
  1010. 7 X# [3 a  r/ i* M: i/ C
  1011. ; http://php.net/phar.require-hash( _6 d3 {6 @3 f: \
  1012. ;phar.require_hash = On! k. K$ z) C: T
  1013. $ t& J: |6 ]( E6 |/ O( G2 {
  1014. ;phar.cache_list =
    0 n+ {! r. N; B& U

  1015. : x5 M! x; M( F
  1016. [mail function]: o/ ]0 s6 V; [+ i
  1017. ; For Win32 only.: H* D: v; |2 z* j$ ~/ [5 R6 C- z
  1018. ; http://php.net/smtp  Y2 x2 T+ A. U* B5 {& a
  1019. SMTP = localhost
    ) b& Z6 e& T4 O# M* f; E, @
  1020. ; http://php.net/smtp-port
    7 |$ |/ l$ J9 {1 w2 m' x' @
  1021. smtp_port = 25! P+ B$ A3 H( F4 y
  1022. 5 U8 j7 k% ?/ D3 v
  1023. ; For Win32 only.
    3 i. `* p; X2 o' v9 \" u) [2 k1 e
  1024. ; http://php.net/sendmail-from
    6 n' p* Q5 X6 C: r! x
  1025. ;sendmail_from = me@example.com
    2 u5 s8 {5 l" s# X

  1026. + F6 N# i: `1 w" x9 s, x
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").* m$ S6 O$ R9 W4 k6 X0 L, r
  1028. ; http://php.net/sendmail-path% [& C. H/ z% ^$ x/ ?; S2 U8 ^( t
  1029. sendmail_path = /usr/sbin/sendmail -t -i- i4 V4 V& e' I1 m) D) ^( _
  1030. 7 ?5 y$ B- N8 W- P/ T8 `
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
      H2 R2 T; O" `, f' |4 n; x
  1032. ; to the sendmail binary. These parameters will always replace the value of
    + |! x1 A, E2 k" k
  1033. ; the 5th parameter to mail().+ o' y+ H' s9 L5 `
  1034. ;mail.force_extra_parameters =
    6 f7 `& `8 }+ [
  1035. 5 e& D& S  G- ^. k, _4 i
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    6 q' X, l7 _" I1 X5 g* @
  1037. mail.add_x_header = On6 [1 Y4 T& H' y' @/ d$ g" @% T8 b

  1038. : p6 E4 S) S9 C* ?5 y- S0 S
  1039. ; The path to a log file that will log all mail() calls. Log entries include( b3 I+ K5 D; l  P( q9 P9 ~
  1040. ; the full path of the script, line number, To address and headers.: X5 p$ T$ K( I6 {
  1041. ;mail.log =
    ' c: `$ k9 W5 }2 L# u3 S- B' {6 f8 o- u
  1042. ; Log mail to syslog (Event Log on Windows).! t7 i  s/ Q" A- [
  1043. ;mail.log = syslog
    6 H" \0 W8 @$ G8 s) F  t
  1044. # N/ s' k* M) ^
  1045. [SQL]
      W6 I4 {7 J" G1 j6 r8 P
  1046. ; http://php.net/sql.safe-mode
    8 A# @  \8 ^! G; S- w
  1047. sql.safe_mode = Off
    ; ]5 s: e" v* j

  1048. % t- ~- d/ F+ }, ~# w* |
  1049. [ODBC]( r6 }; [0 I0 M+ x% z+ z' e
  1050. ; http://php.net/odbc.default-db
    : M9 Q5 h* h' U
  1051. ;odbc.default_db    =  Not yet implemented* m5 C* L, g, F: d! \+ n. s; n

  1052. 0 s2 w% {$ `4 y1 ^  @" I
  1053. ; http://php.net/odbc.default-user% n! W5 k6 P. K( t0 z( I% W* K7 Q: t
  1054. ;odbc.default_user  =  Not yet implemented' q1 A5 i9 S# N+ j+ D/ ~5 J9 P- ?* z

  1055. ( G4 F% M5 P* F0 D, p( A
  1056. ; http://php.net/odbc.default-pw' _0 A) F3 M* F0 c! c7 Q; R* D
  1057. ;odbc.default_pw    =  Not yet implemented
    ! W* b$ z+ _. |; v: `

  1058. 8 t, Q. t5 N% V
  1059. ; Controls the ODBC cursor model.
    9 z% G; t  l! [! @
  1060. ; Default: SQL_CURSOR_STATIC (default).% J" t" \/ D3 D! E
  1061. ;odbc.default_cursortype  t( I: D, \: \4 S& _+ v

  1062. : Z# D0 x' p/ Y" D+ n
  1063. ; Allow or prevent persistent links.
    % {, ^5 I) B' P2 [; Q; r
  1064. ; http://php.net/odbc.allow-persistent
    " ?, f; j4 n& t9 E  n
  1065. odbc.allow_persistent = On
    , e. [( i2 G* G
  1066. 2 C" Q/ H. `- _% x
  1067. ; Check that a connection is still valid before reuse.5 k7 T' h2 H* u" ]; k( B9 P4 X! @
  1068. ; http://php.net/odbc.check-persistent
    , ?* |6 ^# p& A, v' d$ B' J+ Z4 ]
  1069. odbc.check_persistent = On
    - d$ `. A9 U  L0 a3 P" v( N
  1070. : b/ [2 U# S9 j
  1071. ; Maximum number of persistent links.  -1 means no limit.
    7 W5 W2 g; T# R) i
  1072. ; http://php.net/odbc.max-persistent, b: |7 M! z0 S$ X- ]+ d* s
  1073. odbc.max_persistent = -1
    - b7 q8 B0 K6 r( F9 ?: k7 Y  i

  1074. 7 P, }9 Z0 E3 k/ V& E5 q" Y$ [( k; X
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( k+ k7 U- ]1 {# _6 t' h
  1076. ; http://php.net/odbc.max-links
    7 u; S3 b0 p2 l& a3 {& `
  1077. odbc.max_links = -1
    # `4 e. n$ g) D8 j9 B- ]
  1078.   t" y8 A2 d8 p; e- B
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means! R  {% w$ `6 D  {0 L! p
  1080. ; passthru.- i( m# x: O& v( M6 V, f4 ?$ [1 L
  1081. ; http://php.net/odbc.defaultlrl
    ( x) ]/ h% F& b, {8 E2 Y
  1082. odbc.defaultlrl = 4096
    + Y# v& H& U2 a/ u1 ?
  1083. : o' r! p( J' i( \
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.4 q& f* w; r. q3 ^; v( @  S
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation& H4 M" G+ N. }
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    * B9 J, a, x9 j' F
  1087. ; http://php.net/odbc.defaultbinmode9 _. y, e: ]4 }7 F# b+ [
  1088. odbc.defaultbinmode = 1
    1 d1 D8 U1 g) L" _' w4 H" O* V& _
  1089. ) M& S& p+ g+ a# O% J- }' Y
  1090. ;birdstep.max_links = -1# D) T5 @1 c7 l$ a
  1091. ; {! V/ O) l9 o
  1092. [Interbase]
    * M; n  O8 n' u7 c$ m% V. s& u( S
  1093. ; Allow or prevent persistent links.+ r; l9 i9 t- Y1 p' Y- L! G, o0 O
  1094. ibase.allow_persistent = 15 i* S+ J' Y) m) L4 y* M

  1095. % y+ ]. M, j; f0 P
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ; _0 `. C- _: B& N, ^) G
  1097. ibase.max_persistent = -16 |5 q& A# A$ b" O

  1098. # g, D% X- h8 x0 H
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* Z& f! H% }& U& p2 \6 ]2 d) j
  1100. ibase.max_links = -16 E! V$ k) T. X9 \+ r, w# t

  1101. + U, p3 v- N7 `3 K+ _$ J/ B: u
  1102. ; Default database name for ibase_connect().3 z, ]0 `9 i0 D
  1103. ;ibase.default_db =1 u& l. q% {% ^* D, B) @
  1104. 6 A6 `5 E0 |  W8 Z; S7 n9 B3 E
  1105. ; Default username for ibase_connect().) E4 G: Z8 p6 w/ f. }, P
  1106. ;ibase.default_user =* x* j' x2 r* y
  1107. 2 h, H3 b+ P& e* z+ Q
  1108. ; Default password for ibase_connect().
    ( r- E0 z" W1 b$ }
  1109. ;ibase.default_password =
    & \& V3 B5 W: ]
  1110. 1 P7 Z$ j/ ~/ H$ M2 ?
  1111. ; Default charset for ibase_connect().
    8 g: i4 g* L* A5 h+ I
  1112. ;ibase.default_charset =
    % [1 P" \* u: r9 _
  1113. % {5 |# F. p; e
  1114. ; Default timestamp format.7 `3 U$ ]7 u6 L3 r5 }; R
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % u( {7 v/ s5 L

  1116. ) I! j% O! U# n7 L6 I2 r2 R
  1117. ; Default date format.* M! v+ Y2 K5 Z7 _" y
  1118. ibase.dateformat = "%Y-%m-%d"6 |( V; n0 S1 X3 l

  1119. / o: z* F1 G% S6 X. v7 P
  1120. ; Default time format.
    ( W# v8 z7 ]4 M. G
  1121. ibase.timeformat = "%H:%M:%S"1 j) J6 d5 m% M/ z! \& H

  1122. & Z2 v. u2 U2 o1 k- \3 s
  1123. [MySQLi]. n7 V$ \* H$ R! j1 s$ u* n: l

  1124.   N# g5 M& G5 t$ @7 X3 z& {
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ! c* ]9 z, H9 C0 g0 ?- X$ K: ]5 {
  1126. ; http://php.net/mysqli.max-persistent! T9 H5 c. z7 [9 p) ^) e
  1127. mysqli.max_persistent = -1' j& H3 y* g3 G& V1 V8 o0 w! G

  1128. ) K- }- f9 E. C6 y& Y3 V7 _! u
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
      `* W7 L; H. L4 x* x
  1130. ; http://php.net/mysqli.allow_local_infile1 X7 P4 ^  }7 e& h* X) S# H" D. P
  1131. ;mysqli.allow_local_infile = On
    * m$ z/ k7 m. n8 f% ]* ?
  1132. $ o# b3 B) p& j( H. u" {+ V( T5 D
  1133. ; Allow or prevent persistent links.
    , A; D* ]* T% p9 x. V: M, \6 ~
  1134. ; http://php.net/mysqli.allow-persistent! x; B9 X. s0 f/ s' g
  1135. mysqli.allow_persistent = On0 i' [: v5 b( l; i

  1136. & x. P. u$ B8 m! w
  1137. ; Maximum number of links.  -1 means no limit.
    * B& g7 B9 O6 V$ G$ b3 u3 c$ b
  1138. ; http://php.net/mysqli.max-links
    % g3 k) i# l! J& ?
  1139. mysqli.max_links = -1
    $ n" f6 X9 K; C* f; m

  1140. ; d: l9 ~: O& ^
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 K( V( u' ^# L0 l
  1142. ; http://php.net/mysqli.cache_size. A8 _9 K3 R. L7 b
  1143. mysqli.cache_size = 2000: T( @7 P1 d' ^& y+ l6 ^* i+ B# K/ m
  1144. ( Q+ |& r1 D" L0 _. V
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use" b5 e2 s# y& B+ w3 S1 r
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  }# b$ ?2 ^3 _' k
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look: k  Z; s! J& ^9 j  Y
  1148. ; at MYSQL_PORT.7 w  R, {9 f8 |6 D* o% @, i
  1149. ; http://php.net/mysqli.default-port4 A) C6 L( B: U) T
  1150. mysqli.default_port = 33068 G% O9 S  t; Z* [$ j
  1151. & T* @0 [5 B/ @2 D
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " X+ h) C( b, w" z
  1153. ; MySQL defaults.0 r: y6 \! Z" f, K. E4 p0 z! w7 l
  1154. ; http://php.net/mysqli.default-socket
    3 i& y8 W* O$ \* |) I( i
  1155. mysqli.default_socket =! d/ i  K: ?9 O& o3 `( L+ Z
  1156. ; z, }5 ~) O0 V4 i; k' V8 }7 F
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).2 c9 D8 J0 y% b8 H8 b- \$ x7 E
  1158. ; http://php.net/mysqli.default-host/ p% ]- U( J& |5 d) d. r
  1159. mysqli.default_host =
    * c8 s# p2 e& S" p9 B! e
  1160. , i8 R* r0 t7 Z; ~2 c% H- E( @
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    , n, D& ]  p0 A* u5 l6 P
  1162. ; http://php.net/mysqli.default-user
    0 W) W  q' ~' Q# j3 r# e
  1163. mysqli.default_user =; Z% I; }( i* z' ^9 U# V! V

  1164. 1 z% d; P) I; U2 M
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ' B2 i+ O6 q6 `
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.( p, S% |  v* i  E& b
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    % ]! m& \2 S- r3 ]' c5 a$ h
  1168. ; and reveal this password!  And of course, any users with read access to this
    . `* |$ R. \5 s2 g" a" V
  1169. ; file will be able to reveal the password as well.9 S  N9 l- H- T9 m+ W9 o5 J" T
  1170. ; http://php.net/mysqli.default-pw
    % l3 X! \. o* _6 }  T2 c
  1171. mysqli.default_pw =* D# R* {9 ^1 m5 y0 N$ n# z
  1172. + o; r: b+ p! y, y" T7 m
  1173. ; Allow or prevent reconnect
    - |+ ^0 [/ S% I8 l$ q
  1174. mysqli.reconnect = Off. A% \7 U; C0 f+ i! n

  1175. $ m' ^" n; N/ i0 j" j# a- O
  1176. [mysqlnd]
    ( ?  z" y7 r/ X' j
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be4 q% K/ S. v% H3 Q
  1178. ; used to tune and monitor MySQL operations.
      D# p! w: m* j+ m
  1179. ; http://php.net/mysqlnd.collect_statistics7 O. `. z( k% r9 s' ~  {. `
  1180. mysqlnd.collect_statistics = On7 k6 K: `: B/ }( N3 a( W
  1181. - o! m) e7 ?& ^- Z9 Q+ n
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 \* t. E  f: f$ F- ?4 J" u( v8 N2 K
  1183. ; used to tune and monitor MySQL operations.( k6 M$ }# ~# p  f, o' N
  1184. ; http://php.net/mysqlnd.collect_memory_statistics" w( m" `. p: Z' c9 F
  1185. mysqlnd.collect_memory_statistics = Off# r! F$ G3 U6 ?
  1186. ) z; {7 E2 W4 f/ ^' S. Z
  1187. ; Records communication from all extensions using mysqlnd to the specified log7 H- F7 \1 r: F( B
  1188. ; file.0 v/ ?: t2 r0 G) X% P
  1189. ; http://php.net/mysqlnd.debug
    3 R6 X3 B* R8 e* A; j( x7 g
  1190. ;mysqlnd.debug =  J( Z( i- {6 Z6 n- d5 u  s5 ]
  1191. / M: T5 v; x+ [5 p- p
  1192. ; Defines which queries will be logged.- }* B' B5 M( T
  1193. ; http://php.net/mysqlnd.log_mask3 a- ]: V: ?; u6 m; w* {9 B% C
  1194. ;mysqlnd.log_mask = 0
    $ H! q, L8 U1 R, }" N2 T" U
  1195. 8 S$ ~' n! j+ ^0 z# Q
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
      Y) K; h9 G. e% I! [3 t
  1197. ; http://php.net/mysqlnd.mempool_default_size7 C4 d, E$ T8 K! x7 z; J; P" B0 W
  1198. ;mysqlnd.mempool_default_size = 16000
    + J4 r9 K% j/ \" ?. C1 Y

  1199. . x! u( w! M; @) u( Y- L
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    1 y, s; v9 |' U( e" ~+ t5 u
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size+ x5 ~2 G; g! ~6 t% f5 N3 l
  1202. ;mysqlnd.net_cmd_buffer_size = 2048- _+ |* E2 k  K2 y! q: g1 k3 {0 ]

  1203. * o/ X! X6 m0 I* S. `. i6 ?9 ~+ M
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    % A' u. ^( U% R% E! H& e# @; E- ?1 H+ l
  1205. ; bytes.- d/ s0 T( {  R9 u. D
  1206. ; http://php.net/mysqlnd.net_read_buffer_size9 C2 W4 F+ c2 ~' W9 O
  1207. ;mysqlnd.net_read_buffer_size = 327686 _1 i& `# Y9 O4 [$ Y2 {

  1208. 6 w2 l' ~* B2 f% l3 L* l: j
  1209. ; Timeout for network requests in seconds.
    0 U/ K+ r' J  e* P: I4 s
  1210. ; http://php.net/mysqlnd.net_read_timeout
    0 H, ?+ L, L! e  h- Z
  1211. ;mysqlnd.net_read_timeout = 31536000, {/ f: ?( g, q7 t  V& H4 s. k0 T6 k
  1212. # V. {% m5 L2 Z  U) N
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ! L2 S/ H* u/ T- n! g
  1214. ; key.; ]' C* P8 ]. P# L/ }
  1215. ; http://php.net/mysqlnd.sha256_server_public_key5 S8 k- z, z) ^8 [2 J8 {7 S
  1216. ;mysqlnd.sha256_server_public_key =
    6 u! Q4 U4 D+ A2 [9 [( n

  1217. # F6 J% P1 t, K9 J
  1218. [OCI8]
    8 b2 t. J5 {+ G0 t: l
  1219. : x) u3 C# l! l! {5 {; l
  1220. ; Connection: Enables privileged connections using external
    6 |2 O- J7 j5 C
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    4 o: y3 b9 ^7 c
  1222. ; http://php.net/oci8.privileged-connect
    7 M* O% o1 h7 Z
  1223. ;oci8.privileged_connect = Off6 F. Y; b! e! _: r6 o, I/ T( l- y

  1224. / ?) x$ m/ Z, i0 s$ k
  1225. ; Connection: The maximum number of persistent OCI8 connections per( M' U4 X* D/ O% O
  1226. ; process. Using -1 means no limit.  h$ L/ U7 W2 x& d/ Z* ~
  1227. ; http://php.net/oci8.max-persistent
    + q0 C) |7 d1 _6 X' A! \
  1228. ;oci8.max_persistent = -1
    - K" ?7 a, r5 Z4 j. c7 Z  V: [$ l. S

  1229. ; C9 {! e3 O( s5 o( V8 x- X6 ^
  1230. ; Connection: The maximum number of seconds a process is allowed to" z$ d* g. @; l1 @) N
  1231. ; maintain an idle persistent connection. Using -1 means idle
    3 D3 i1 b: C0 }7 _" J
  1232. ; persistent connections will be maintained forever.1 t. t* u3 c% f, o
  1233. ; http://php.net/oci8.persistent-timeout
    7 ^  ~4 A" M5 Y# b# N
  1234. ;oci8.persistent_timeout = -10 |+ n6 K$ Q8 u# ^
  1235. * G7 x: H% L5 E7 P/ s9 K! n
  1236. ; Connection: The number of seconds that must pass before issuing a: K3 l1 a, A, R5 ^6 b
  1237. ; ping during oci_pconnect() to check the connection validity. When
    $ W; R$ |1 ~$ Q/ Q
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables( t( _3 c% |4 g$ \8 H$ h! E
  1239. ; pings completely.
    6 W: N/ F- }6 L
  1240. ; http://php.net/oci8.ping-interval
    / }; m) h0 ]- B$ b4 j
  1241. ;oci8.ping_interval = 60
    & X( r$ s: ~9 }6 B) u/ E3 O- a8 d
  1242. 0 D9 X  P- u; C' y+ f/ f
  1243. ; Connection: Set this to a user chosen connection class to be used2 j. f( E7 \8 H$ \
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    $ J, r( D' `( y6 w+ t
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    * Z# i4 |  N- e
  1246. ; the same string for all web servers running the same application,  r  N" p% m' Y# |, \% G0 q. }
  1247. ; the database pool must be configured, and the connection string must) z, }8 z) `; x& d# B
  1248. ; specify to use a pooled server.0 U6 ?1 x( a1 ~0 e' D" l) `
  1249. ;oci8.connection_class =% I) ~. {( S7 {% `

  1250. 2 i6 h0 k" o5 Y% J
  1251. ; High Availability: Using On lets PHP receive Fast Application( z. J& c% V( r9 ?2 n9 v( L! Y# T
  1252. ; Notification (FAN) events generated when a database node fails. The
    + v5 R' \8 X3 H& B( W; h& Z0 I6 }
  1253. ; database must also be configured to post FAN events.- e9 L6 h* Z  u4 H, _
  1254. ;oci8.events = Off
    # K7 }# j9 s& [5 D

  1255. + A  k. b& {, S) D7 q
  1256. ; Tuning: This option enables statement caching, and specifies how
    4 G5 l* k6 H/ r& l9 B- X) p& N
  1257. ; many statements to cache. Using 0 disables statement caching.  z" {/ f2 O8 |' ~7 @; o& L
  1258. ; http://php.net/oci8.statement-cache-size
    ! n! [, z5 h, l7 a; x
  1259. ;oci8.statement_cache_size = 20
    + U, M4 {) c0 a2 h/ N8 m3 a
  1260. " F6 v% m5 ~: H( g$ U# X0 f7 w
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    2 g5 }  O3 ^9 ^3 p* ]
  1262. ; rows that will be fetched automatically after statement execution.7 @, l" P, Y" F# L8 w0 `0 K. \7 e
  1263. ; http://php.net/oci8.default-prefetch! A6 C* m1 i6 M& U  @
  1264. ;oci8.default_prefetch = 100( E# {( K: Y0 Z2 N" g. t

  1265.   _0 Z8 }4 Z( n' B8 Y" l) U  f7 j
  1266. ; Compatibility. Using On means oci_close() will not close
    0 G( M4 g) U$ {7 [
  1267. ; oci_connect() and oci_new_connect() connections.
    * v: T3 J1 u* W2 n% A5 P
  1268. ; http://php.net/oci8.old-oci-close-semantics
    . z' W6 ?6 }/ X( t8 G% ?+ l& C
  1269. ;oci8.old_oci_close_semantics = Off. _5 j$ ?# d9 C, o; E
  1270. 4 F% i/ b1 x6 P8 D# Q' v% z1 r! c
  1271. [PostgreSQL]
    3 `( K  `: t# N7 f# {) }4 T$ l1 ~
  1272. ; Allow or prevent persistent links.( ~: T. J) ^; o7 D4 C* ?- V: s
  1273. ; http://php.net/pgsql.allow-persistent
    ( F, U( p- y9 f/ O! F' ]
  1274. pgsql.allow_persistent = On
    * `. Z- f% ?8 J, q
  1275.   H* K% N+ n+ G0 G% R  g+ p( Y4 I
  1276. ; Detect broken persistent links always with pg_pconnect()., X7 Z0 I/ ~- @  r& {8 K
  1277. ; Auto reset feature requires a little overheads.% Y1 o% n% ^! j/ T+ e' P) j. F
  1278. ; http://php.net/pgsql.auto-reset-persistent
    5 M+ P' l9 ^: J% g
  1279. pgsql.auto_reset_persistent = Off: I0 I9 X* e6 a& e
  1280. ; z& _* ^+ j+ m  i7 |; W+ i+ v, p) ~$ I
  1281. ; Maximum number of persistent links.  -1 means no limit.
    " w* \/ a. \/ B( u2 h1 [& o* q
  1282. ; http://php.net/pgsql.max-persistent" }" O/ |) V& b; Z& W
  1283. pgsql.max_persistent = -1
    7 g3 J5 q- n2 O0 N- t

  1284. 9 q0 T% ^4 n9 o* D: R" u- A8 K
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.. p- h% j  o) E7 D4 h1 h. g( n7 ^) Z
  1286. ; http://php.net/pgsql.max-links0 z$ F* ^5 P  W0 d0 U" m! v4 _
  1287. pgsql.max_links = -1  h" a, ]5 C1 g7 h$ M9 e
  1288. ( s: G3 ]) ]7 l2 |9 H# L; B2 o
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ! v+ W) ?7 X/ n% ]8 y
  1290. ; Notice message logging require a little overheads.
    8 ?: O: Z, [# o' w: f
  1291. ; http://php.net/pgsql.ignore-notice
    & @- [/ O2 E" Q
  1292. pgsql.ignore_notice = 0! B) t. w) X  R" L
  1293. * W$ M* j1 X+ `% U9 N
  1294. ; Log PostgreSQL backends Notice message or not.
    3 p0 i, M: ?' e" L
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ' |- Z' E! R* B$ L3 J
  1296. ; http://php.net/pgsql.log-notice
    , H$ G% X+ A/ r2 j3 {7 N* A
  1297. pgsql.log_notice = 0
    # b+ ?. K) \' r3 S# V
  1298. , j2 A/ g* v; H, R1 A. x
  1299. [bcmath]- t* U$ D5 @& a
  1300. ; Number of decimal digits for all bcmath functions.4 k( \! u+ t" m  k9 L4 A& f& h; i
  1301. ; http://php.net/bcmath.scale
    1 g% l- A4 A- m2 Y9 w& }
  1302. bcmath.scale = 0
    ; k4 J3 C. h/ r4 N- U
  1303. % K. m/ x- H0 ?4 x
  1304. [browscap]
    # p$ Q& N" h  B. \1 T3 `8 O( i
  1305. ; http://php.net/browscap$ c3 @! Z% f8 |- n; A" W
  1306. ;browscap = extra/browscap.ini9 _% y% {# J& l6 `! R7 u6 I- M
  1307. * j' d( {3 Q) h
  1308. [Session]
    5 j: h  g, \7 R
  1309. ; Handler used to store/retrieve data.  H8 `. t+ a" S; c# v
  1310. ; http://php.net/session.save-handler
    5 f1 s, y. G: E
  1311. session.save_handler = files
    # ^  {9 z- z7 p2 }# Z$ h1 ^
  1312. 7 m: H' B- {7 M% e
  1313. ; Argument passed to save_handler.  In the case of files, this is the path: s% n6 s3 |% y& O
  1314. ; where data files are stored. Note: Windows users have to change this- ^9 [- A8 m3 j' N: y  Q. _
  1315. ; variable in order to use PHP's session functions.- j# R, W2 n1 U& _" A
  1316. ;
    * Y# L3 I  m" ?/ r
  1317. ; The path can be defined as:) \& W: Q  v% q) a  S
  1318. ;
    6 e6 `" ~6 A: y4 `
  1319. ;     session.save_path = "N;/path"1 X" O+ f& c" ?: l, S0 D
  1320. ;
    1 C  }, X) S6 T
  1321. ; where N is an integer.  Instead of storing all the session files in
    4 \& X6 ~/ f# b
  1322. ; /path, what this will do is use subdirectories N-levels deep, and% b4 V, m3 {7 \
  1323. ; store the session data in those directories.  This is useful if' C3 X8 l" @2 I$ ]9 G' |
  1324. ; your OS has problems with many files in one directory, and is
    ' R, d' x7 P2 L
  1325. ; a more efficient layout for servers that handle many sessions.
    ! e$ R, O% e/ X, r" m
  1326. ;
    & J/ ~) }/ D- Q1 N# U% _% L
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    * Q6 g, E5 r% l: z. ?1 G' ~, O, r' ~
  1328. ;         You can use the script in the ext/session dir for that purpose.- Y  {, ~2 l2 e4 Y! B1 u5 H, l
  1329. ; NOTE 2: See the section on garbage collection below if you choose to6 R" ?; u8 C% U: V
  1330. ;         use subdirectories for session storage/ o0 j& Y% k8 z' X# N  l
  1331. ;
    1 {9 B* a1 O* a, I. g) I* M
  1332. ; The file storage module creates files using mode 600 by default.
    , h' H" p/ Z3 F
  1333. ; You can change that by using
    0 e, I9 t) }9 h# E
  1334. ;
    , o' {1 w0 E4 f2 `1 ?1 ^
  1335. ;     session.save_path = "N;MODE;/path"
    5 I5 f8 l5 n6 P+ s$ f: G- Y
  1336. ;; P  V' u' R  Q0 b" R6 x: ?, b* R
  1337. ; where MODE is the octal representation of the mode. Note that this! w  `: r  b# q/ {5 k3 e
  1338. ; does not overwrite the process's umask.& G2 Z9 v( X2 r* i. x: K0 ^' l# k8 w
  1339. ; http://php.net/session.save-path
    & m, V% d- V/ G8 r0 d/ I+ ^" r" x$ j
  1340. ;session.save_path = "/tmp"$ W. d+ I+ B; G$ Z3 x7 r, [1 g
  1341. & E( G, ]! Z9 l( q; J
  1342. ; Whether to use strict session mode.2 n2 ]6 n) _  h; I( u6 ]8 b
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate( u/ D: ^, _) ~( c" b; N  e' ?
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    " g% L; _3 J6 C* S6 o
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ( D3 l% y; ~5 ]  k' n1 p% |: a
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.0 x) U! n/ D' D; ?, e0 F
  1347. ; https://wiki.php.net/rfc/strict_sessions5 \& Z9 j0 S: b2 u- {8 q; e
  1348. session.use_strict_mode = 0
    6 x+ y/ W0 F; }+ Q* T7 k

  1349. 7 f! T5 o5 P/ L6 _, W$ v3 t' m% U; N
  1350. ; Whether to use cookies.6 y8 q( I( f( G/ @
  1351. ; http://php.net/session.use-cookies
    % X0 q' M+ {1 p$ ?" S; v
  1352. session.use_cookies = 1
    / r) [7 o) z; s* `: a- N% D5 t

  1353. 1 O0 T- D$ n, P6 p) z5 [
  1354. ; http://php.net/session.cookie-secure
    ) o, f0 M5 d) Q
  1355. ;session.cookie_secure =& s0 J1 h  W* _
  1356. / r6 r) e- d1 s+ x# Z
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining5 s% U' _+ Y+ B: E  S% T* F7 M
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    0 N* R9 a0 d0 ~, p- ?
  1359. ; session hijacking when not specifying and managing your own session id. It is
    - t3 g" c2 g' S( d6 ]
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.3 Y) Y; l# V6 a7 }( f0 p0 Y: k
  1361. ; http://php.net/session.use-only-cookies% j1 ^  m4 G3 U" W# E: ~
  1362. session.use_only_cookies = 1
    . g7 B! b+ Q3 L9 k

  1363. ! I/ x( I! o- M% y* x3 P. @* C
  1364. ; Name of the session (used as cookie name).$ Q* |. o  B7 T: L) ]4 f; {
  1365. ; http://php.net/session.name5 Y3 f1 b# F; ~; o6 {. V6 I' p
  1366. session.name = PHPSESSID
    # H( a7 b+ k+ A6 @/ T* Y& b

  1367. $ N& g3 b: ]2 ^' w6 a
  1368. ; Initialize session on request startup.
    8 ?1 F8 L$ S" Z  T5 U5 Z4 y2 d
  1369. ; http://php.net/session.auto-start
      b1 ?: b6 F' ?: w
  1370. session.auto_start = 0
      q/ g$ p2 b: l9 Q( j
  1371. # p5 b1 u, _8 ?, ]) ~8 i( c. {
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted., x0 F$ l6 ~0 G$ `% Z
  1373. ; http://php.net/session.cookie-lifetime
    ( {' Z* u; m' B% \* D
  1374. session.cookie_lifetime = 0
    4 Q8 a7 ~# p6 M3 ~2 ]+ W5 U

  1375. ; p, c* T$ Q$ O
  1376. ; The path for which the cookie is valid.* m! Q" y- v* d' S8 ]
  1377. ; http://php.net/session.cookie-path5 Y* O) d# d! L3 e  }' A# Y
  1378. session.cookie_path = /
    # |; _. K0 F9 O) T% k  u* }

  1379. 6 F' M+ D4 F2 b4 y- ^& ]' O
  1380. ; The domain for which the cookie is valid.  d: H+ s+ @. W4 a' Y
  1381. ; http://php.net/session.cookie-domain+ a$ [$ Y% D3 w4 |& J- G
  1382. session.cookie_domain =
    ) \7 N* [9 K6 m) z

  1383. 4 }5 @$ Q9 X, F- S& }) Y
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.- k3 s) e; T" y* Y+ M
  1385. ; http://php.net/session.cookie-httponly
    1 k; C* t4 V, y# V1 Z# a
  1386. session.cookie_httponly =
    ; k) A! N: V" e( y7 n' t" Z5 a
  1387. , k! F: J( N1 L% Q) v
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    1 D3 g7 G* r' p0 ~  q" K& k; w
  1389. ; http://php.net/session.serialize-handler  W# S3 X8 a& j1 K
  1390. session.serialize_handler = php1 F! [9 E# \0 U( @4 e
  1391. " N0 l. A, H; }8 T
  1392. ; Defines the probability that the 'garbage collection' process is started  q! i3 u- K. r0 E4 T; ?
  1393. ; on every session initialization. The probability is calculated by using
    + W2 y2 x6 o& A" [6 z
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator# Y) A; N- L1 S+ o- \& n
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1( M, q5 Q7 s8 X" }' E3 c
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- r: h9 H; S( F, c: @
  1397. ; the gc will run on any give request.6 F" |+ W9 A# x' E& a: ?
  1398. ; Default Value: 1; k7 v8 G4 {0 [9 Q6 i* t2 f
  1399. ; Development Value: 1
    ; m: V+ n7 U! V: m+ I1 A! I0 y
  1400. ; Production Value: 1
    # n& ~( I( j3 e8 u8 a  |
  1401. ; http://php.net/session.gc-probability
    ) _- }3 C- I1 G3 A$ z# Z
  1402. session.gc_probability = 1! i3 ~, x4 K/ |: U& d, G
  1403. 0 b9 d. @# r3 l+ \0 U( d
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    # [/ _# X6 r# J$ D! H
  1405. ; session initialization. The probability is calculated by using the following equation:; |" R) {) {) B4 c+ \) ]
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    2 Z& e( ]5 o# |) z; |: E# P
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1% z* c& k. f2 E0 w& z) n/ ?- F
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 m3 y& K$ l5 a- b- R
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    $ Z1 J2 q' R6 {; k6 |
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    " F! f5 Y2 _! }; f  B9 n' [
  1411. ; this is a more efficient approach.' A; N" O5 z& O. p5 V+ X
  1412. ; Default Value: 100
    + R4 U6 l4 c6 u" I
  1413. ; Development Value: 1000! a7 m/ ~5 {0 @8 f+ ~
  1414. ; Production Value: 10009 K4 r" Q% P5 N. C6 F# Z
  1415. ; http://php.net/session.gc-divisor( E4 o" a& \: h( {2 D
  1416. session.gc_divisor = 1000! h8 j" l( `$ \+ Y8 \  e
  1417. 3 }5 \6 U& x6 t7 i2 @) ]
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    # \+ N! w, R8 c% J( j
  1419. ; cleaned up by the garbage collection process.  n; q# a, M5 [2 s# Q
  1420. ; http://php.net/session.gc-maxlifetime
    2 u' R  ~! K' a; s7 A, H6 b- E/ x
  1421. session.gc_maxlifetime = 1440
    ! U: x, x, H* ^+ `% Z% q7 Z  N, W

  1422. $ G3 b% }2 j% N
  1423. ; NOTE: If you are using the subdirectory option for storing session files- |) p- Z. g+ m2 A! o
  1424. ;       (see session.save_path above), then garbage collection does *not*
    8 a' _5 U0 I  z7 S3 _% P$ X
  1425. ;       happen automatically.  You will need to do your own garbage
    ) o* ^4 h2 ?& w5 k, c
  1426. ;       collection through a shell script, cron entry, or some other method., M  x) ^6 m  L7 T1 `0 N. P3 N
  1427. ;       For example, the following script would is the equivalent of6 L2 g2 O! Y$ x
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    * O- N4 ?# l" `
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm0 K7 i6 c$ M3 [; m
  1430. / b6 w) {& B' t# I
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.' h7 \+ g9 D9 L" H+ @" \
  1432. ; HTTP_REFERER has to contain this substring for the session to be( l9 W2 ?3 o( F6 x: K
  1433. ; considered as valid.) q; x4 f1 T9 [( |9 t
  1434. ; http://php.net/session.referer-check/ H" G* `. m+ G- d* q2 p7 T; x8 i
  1435. session.referer_check =) ~5 o9 T* o! F# C' B: y

  1436. / N, L) p- W3 a8 ^6 W2 V: o& D& e6 H
  1437. ; How many bytes to read from the file.
    ( D2 O& ?5 f, L$ [- f) Q
  1438. ; http://php.net/session.entropy-length
      P9 g8 }% f4 `$ [9 L* L/ T
  1439. ;session.entropy_length = 32+ M; S% ?/ H# P! e  R' P0 `8 v" l

  1440. : v1 p% c& k/ ^3 F
  1441. ; Specified here to create the session id.5 n1 m% Z* l: g2 {2 o
  1442. ; http://php.net/session.entropy-file9 {" z; `4 l' b. Z7 p) M1 F" x
  1443. ; Defaults to /dev/urandom/ N& J; e7 h5 `1 a2 B5 X! \
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom/ p6 L0 f) [) M9 W8 ]
  1445. ; If neither are found at compile time, the default is no entropy file.7 s4 ?7 F+ V+ k
  1446. ; On windows, setting the entropy_length setting will activate the9 |- H/ Y: {# o; t  k6 G' e
  1447. ; Windows random source (using the CryptoAPI)
    2 A) b' ?% v. S$ [3 ?( F  a) Z& H
  1448. ;session.entropy_file = /dev/urandom/ a0 s) o' Z" s: D7 |. U! v

  1449. 6 G# J. t6 M  N: w% t+ N
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ) N- N3 Z) _( t3 b
  1451. ; or leave this empty to avoid sending anti-caching headers.
    % n& f; o5 H4 R: Z: F5 g
  1452. ; http://php.net/session.cache-limiter
    . N, a' [7 o2 o
  1453. session.cache_limiter = nocache
    " d7 ]" c2 E1 }& i( t

  1454. ' H; Q' C# c! m1 N
  1455. ; Document expires after n minutes.  v% A4 ]5 N$ z0 m7 i4 Y* p9 _- b
  1456. ; http://php.net/session.cache-expire' v: X  A. Y' @' i; w. A
  1457. session.cache_expire = 180
    : u* g2 r8 i$ U

  1458. ; f" V! H# x8 U+ m, K
  1459. ; trans sid support is disabled by default.
    # j8 H! F! R1 ]7 D* G; B. ]
  1460. ; Use of trans sid may risk your users' security." d  a0 G; o5 i
  1461. ; Use this option with caution.! A. G1 S1 F+ R8 G% ~2 e& }* ?3 I
  1462. ; - User may send URL contains active session ID) k' P; D5 d. }# k, X4 ^5 m
  1463. ;   to other person via. email/irc/etc.. ~" W) m  j5 [/ {
  1464. ; - URL that contains active session ID may be stored
    % t) u+ O9 l  t  b3 z
  1465. ;   in publicly accessible computer.8 \) b  k$ S1 k
  1466. ; - User may access your site with the same session ID
    + s/ K" b9 D( L. k+ H* |
  1467. ;   always using URL stored in browser's history or bookmarks.  n0 v8 U( j$ m. h, y
  1468. ; http://php.net/session.use-trans-sid
    5 u  P4 ^( ]& N1 d1 _7 T
  1469. session.use_trans_sid = 0
    8 {9 M9 d( f" N+ w

  1470. # k1 O: o2 P3 H2 e9 x+ V
  1471. ; Select a hash function for use in generating session ids.
    * L1 p6 ^, K6 y- g; @# T
  1472. ; Possible Values' a& p! n' d- {) k
  1473. ;   0  (MD5 128 bits)  v2 P, l$ G- O
  1474. ;   1  (SHA-1 160 bits)# c# b* _. Y; _( @! B
  1475. ; This option may also be set to the name of any hash function supported by
    0 m. z& I. V) P. G- y
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    5 ]7 k8 X  E0 ~. P. A, X
  1477. ; function.
    3 z  b5 [7 D5 D" j( E+ j9 A7 O
  1478. ; http://php.net/session.hash-function( t7 d) [- Q8 v& Q2 P0 r
  1479. session.hash_function = 0( k' Z6 Q& b. V; s. \$ z8 R7 t
  1480. ' g2 e: w  k2 i9 t4 b7 k2 p$ C
  1481. ; Define how many bits are stored in each character when converting9 Y$ {/ x; B( i3 g( x' ?* _
  1482. ; the binary hash data to something readable.
    , e8 k, s) a+ k; ~
  1483. ; Possible values:
    4 J' \, u. }5 T7 |
  1484. ;   4  (4 bits: 0-9, a-f)2 a( T* u7 s1 U5 O
  1485. ;   5  (5 bits: 0-9, a-v)1 o" J. T+ x4 c$ d
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")+ N6 a" ]$ q4 y: Y5 e. |
  1487. ; Default Value: 4
    ; {4 b5 J6 j& f3 o8 `0 ]
  1488. ; Development Value: 58 F2 P* H+ X2 s' I9 L$ }
  1489. ; Production Value: 5
    * `8 G5 c/ o- ^' n/ p: l
  1490. ; http://php.net/session.hash-bits-per-character4 x6 Y) f. a- j. |, g$ }+ y
  1491. session.hash_bits_per_character = 5, q  k# }, f: d
  1492. . r! B$ a- ]! `6 e
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    - o: B% |6 N4 Q! {. F8 I
  1494. ; form/fieldset are special; if you include them here, the rewriter will& K, W6 q+ k3 E% X+ d! h
  1495. ; add a hidden <input> field with the info which is otherwise appended2 ~- w+ o, }" b' u) r4 ?! [
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / ^, W" {) i* h. H
  1497. ; Note that all valid entries require a "=", even if no value follows.$ v% h" v* c9 s- K
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="3 i4 e! }0 z; E
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ ~4 V% \8 F- s5 j3 J8 L
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") i  T) q& r) ^
  1501. ; http://php.net/url-rewriter.tags" z. H' c1 a5 W; X( d$ ~
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 y. A/ D/ O5 U, _

  1503. ' g6 t* X% x4 O
  1504. ; Enable upload progress tracking in $_SESSION
    9 g9 N3 h; f0 `3 m
  1505. ; Default Value: On
    $ K9 B& d$ j. }& s9 R
  1506. ; Development Value: On% Q: q. p4 @: s1 `. Z% c( {
  1507. ; Production Value: On9 p- n7 a1 t: `1 Y) E# }) s' R8 |+ D
  1508. ; http://php.net/session.upload-progress.enabled, _) b9 E1 e; ?4 f
  1509. ;session.upload_progress.enabled = On, l) E/ k, `; h; H& D

  1510. / H6 q0 }" }' B. I
  1511. ; Cleanup the progress information as soon as all POST data has been read1 r. x  \( ?7 Q+ i) m! y
  1512. ; (i.e. upload completed).* B; G( s  z9 Z" x+ n1 F8 q
  1513. ; Default Value: On
    : |' H$ ?! q2 A* @0 y1 P1 i
  1514. ; Development Value: On
    ; y* C# P) R% j+ _
  1515. ; Production Value: On+ W$ Y) Q9 }5 b( D: |% A; N+ |
  1516. ; http://php.net/session.upload-progress.cleanup
    " b' a+ l& m- M' U
  1517. ;session.upload_progress.cleanup = On0 v  \& F/ v8 y4 U

  1518. ' U1 f& R4 J% k4 ^" S$ Z* ~
  1519. ; A prefix used for the upload progress key in $_SESSION$ q8 Y  T% O' o" {2 B
  1520. ; Default Value: "upload_progress_"$ I2 `: S" I2 i
  1521. ; Development Value: "upload_progress_"
    $ i, x2 x4 h" v6 K
  1522. ; Production Value: "upload_progress_"
    ) u; c9 o7 Y" @2 z
  1523. ; http://php.net/session.upload-progress.prefix0 Q7 y! [* O8 d0 v% L
  1524. ;session.upload_progress.prefix = "upload_progress_"
    1 h* v7 }  n9 }& Q

  1525. ) z& b" W8 ^* b8 Q
  1526. ; The index name (concatenated with the prefix) in $_SESSION; O( E+ V- w+ N( O# [
  1527. ; containing the upload progress information
      {4 ^+ \. j% m" @' ~& v! j
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : j) f5 r& W2 ?4 E
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - a8 c# `6 |* e  S1 \3 C# D
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"6 |( V4 O1 |/ K+ Z! l
  1531. ; http://php.net/session.upload-progress.name
    4 m$ K" B* e$ S' Q, [
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& x  K4 z: M% a) {1 `+ [& w- h
  1533. 4 n# r( K- C& U7 j% ~* Z
  1534. ; How frequently the upload progress should be updated.
    6 P9 K. q& W5 S
  1535. ; Given either in percentages (per-file), or in bytes
    " E9 s, ?+ r* O$ k- j
  1536. ; Default Value: "1%"
    4 o% K' I/ w- C) [9 }
  1537. ; Development Value: "1%"+ E2 ~& e/ }. ]  J' ~
  1538. ; Production Value: "1%"
      B9 D8 P1 ]1 l: X, }9 f
  1539. ; http://php.net/session.upload-progress.freq
    ( h: w* q% ]& k( t- h6 J2 l
  1540. ;session.upload_progress.freq =  "1%"
    * J* c4 P+ i- [) E
  1541. 8 p2 A# f0 E6 T
  1542. ; The minimum delay between updates, in seconds
    0 T; h# E) S% z% w  Y9 b
  1543. ; Default Value: 1
    8 B! w/ _* g6 h& O8 h3 i+ [
  1544. ; Development Value: 1
    & w1 Z0 R! t1 n# ^5 V
  1545. ; Production Value: 11 r, g; X( s. U1 T
  1546. ; http://php.net/session.upload-progress.min-freq
    8 |  S  L! [. a5 B7 V
  1547. ;session.upload_progress.min_freq = "1"
    . z4 p) i; q% o8 r& F
  1548. # T  }1 S. X5 B8 d% p
  1549. ; Only write session data when session data is changed. Enabled by default.* i, V* {. t. t, o" t2 ]
  1550. ; http://php.net/session.lazy-write
    ) h+ Y9 s: A9 E
  1551. ;session.lazy_write = On) Q. i6 t# n; |8 q' V, R
  1552. 8 ?( e/ `) i" A; n
  1553. [Assertion]
    ( X' s. U7 i6 I4 z* @9 w# I+ c
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ) }$ P2 W6 A) I9 M
  1555. ; -1: Do not compile at all% K& w4 z  O  R1 D
  1556. ;  0: Jump over assertion at run-time
    6 C5 m0 n! Y# ~' q9 P
  1557. ;  1: Execute assertions
    0 E. u. w0 D% b" 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)8 l% @8 J' F5 v
  1559. ; Default Value: 1; z  x- @7 ], E& m9 z" G
  1560. ; Development Value: 1
    6 ^) _3 F8 u5 w2 L) S
  1561. ; Production Value: -1
    " J( ^8 t# b+ w, x5 D+ T) o
  1562. ; http://php.net/zend.assertions
    5 w& f* k  J  q- x
  1563. zend.assertions = -1' c' K7 K/ d' u" z$ c; b' M, [

  1564. ( C( S2 k9 i' l; h$ D, {
  1565. ; Assert(expr); active by default.( b& P3 P+ v: r. y3 V& C1 U% c
  1566. ; http://php.net/assert.active, A0 Q: x5 W& {
  1567. ;assert.active = On9 ~. b1 ]/ @' P$ a7 H3 C9 z  C  `

  1568. 2 @; N  X3 @1 A- U6 p/ P! |
  1569. ; Throw an AssertationException on failed assertions
    2 w" f1 e4 E* {; I3 D& H9 G
  1570. ; http://php.net/assert.exception
    0 |- ?9 y. E* q8 [3 z
  1571. ;assert.exception = On  [# O7 |+ k3 \. @
  1572. ; J6 `1 i2 a& `+ B( I- T
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active): R( ?. D: E5 @8 G3 ^- @4 s3 U0 F* I
  1574. ; http://php.net/assert.warning
    . M$ r* k. k3 z# s5 z- S
  1575. ;assert.warning = On
    : _9 i- F3 }9 B. r- _

  1576. . c( s& P8 J* u9 l+ r+ f; R
  1577. ; Don't bail out by default./ @  Y5 s1 q& u! F- @1 {! ?
  1578. ; http://php.net/assert.bail
    & n3 O+ M0 W/ R0 U4 M/ P; F
  1579. ;assert.bail = Off
      @: K& U' J0 ?9 `  s  ~* r

  1580. + U5 r/ O! G7 ?4 R3 z% Y0 ?% ~
  1581. ; User-function to be called if an assertion fails.
      E# ^: T% p% {$ r
  1582. ; http://php.net/assert.callback& `2 P5 t5 F/ `" ], b# E& _
  1583. ;assert.callback = 0
    9 y: O7 ]' ?) w3 H' ~: u
  1584. * r) Q/ ^6 |1 m  `
  1585. ; Eval the expression with current error_reporting().  Set to true if you want! K# N+ ], |& z6 m7 I
  1586. ; error_reporting(0) around the eval().
    6 J7 _$ R6 A' z
  1587. ; http://php.net/assert.quiet-eval
    + b0 r. o: A8 w6 h6 ~% Z8 B+ l" Q, j% E
  1588. ;assert.quiet_eval = 0
    - V8 ]# r3 e3 W2 s1 i$ K2 n# v

  1589. " t; }: W- ~8 T
  1590. [COM]
    " z8 u. C1 @: n8 [7 A! g
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs) V+ A3 A' |! D% g, v' r
  1592. ; http://php.net/com.typelib-file% Z; m9 J" d6 r
  1593. ;com.typelib_file =4 B5 H0 I6 w' i
  1594. ) M% S; q, n& q, @- g  ?
  1595. ; allow Distributed-COM calls8 v( W# y/ ~  g3 F# B. m
  1596. ; http://php.net/com.allow-dcom
    7 f% F- }/ ]- K4 l
  1597. ;com.allow_dcom = true  g" _3 L0 x! j& ?( T0 F
  1598. / D! W. j# A# K* T! H% c
  1599. ; autoregister constants of a components typlib on com_load()
    6 A# n6 M$ |0 c3 `. j
  1600. ; http://php.net/com.autoregister-typelib
    3 @7 Q4 M* y& E4 t( Q
  1601. ;com.autoregister_typelib = true
    $ _3 @9 C) [* y! ~  c. b( a

  1602. $ G2 `" X3 z6 M8 w
  1603. ; register constants casesensitive
    : G# T- x# p! Z
  1604. ; http://php.net/com.autoregister-casesensitive! j# z: e% U) }3 Z9 ~9 [; l
  1605. ;com.autoregister_casesensitive = false7 L/ ^' R# b1 f3 ~

  1606. 5 Q2 x' I5 k# Q. I3 \! C, S
  1607. ; show warnings on duplicate constant registrations3 N- t4 I- o/ W" i4 m) ~" M
  1608. ; http://php.net/com.autoregister-verbose# M6 b9 z( b9 o) p, F1 z0 y
  1609. ;com.autoregister_verbose = true+ T: `5 R, t+ P0 `5 I& ^+ I
  1610. ; W" V* _& I' E/ D- `* D$ Y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    6 q, c8 [* V' _" {: b: h
  1612. ; Default: system ANSI code page7 D! [1 H% I7 |/ ~
  1613. ;com.code_page=, E0 t! R* b/ s/ t2 ]  H
  1614. ! Y8 N- n# o( m/ G* N2 z9 f
  1615. [mbstring], V4 t9 L9 q& q2 C
  1616. ; language for internal character representation.2 l0 T  F6 w4 w$ U6 S2 |
  1617. ; This affects mb_send_mail() and mbstring.detect_order." ?! P$ q% D& `5 ?: X
  1618. ; http://php.net/mbstring.language  [& c8 U) ~  ^& ]
  1619. ;mbstring.language = Japanese
    9 g* c! R+ J8 J, c3 p: l; I
  1620. 7 A  j+ [8 H  E0 m; d# a
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % u  i! l5 m: N
  1622. ; internal/script encoding.* E) W$ K  s5 e0 \
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)9 y+ U$ H! x7 f: \
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 g: m0 T( P2 @" P& x3 V
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! J+ F/ I* V; y% O0 Y% n( ?
  1626. ;mbstring.internal_encoding =+ R6 @, I8 o+ Z) z

  1627. 0 r* \0 A: u! S
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.0 l/ `( O. T' K& V$ N
  1629. ; http input encoding.+ u+ ^& ]1 L: G( Q) M( C; b
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    . _* X2 u" C: D# m1 @
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    + y4 v% _* F: G! D" }' K
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input% ], L: j# a0 C( K. S
  1633. ; http://php.net/mbstring.http-input0 f/ u% w) ]7 N7 K
  1634. ;mbstring.http_input =0 Y& Q2 Q0 B% U" G! O
  1635. 1 P4 {* ~& M5 n$ M; c! Q' j
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead., u9 L6 Y0 k$ G8 C
  1637. ; http output encoding.
    5 x: R8 O3 i2 P5 @# P9 v
  1638. ; mb_output_handler must be registered as output buffer to function.' u( |- d. \: K: k( J9 w
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.$ B9 J( ~& l4 X4 k' D: h1 _
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    . [* y. o- }9 i4 X& y# _
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    5 ]# @( b! `- G- E
  1642. ; otherwise output encoding conversion cannot be performed.$ V0 C4 ?1 B( k$ h1 Q9 I
  1643. ; http://php.net/mbstring.http-output
    5 Q8 o6 d3 @' n) L, z! q
  1644. ;mbstring.http_output =
    " ~/ a; o% B* i* r: w2 A) U6 U+ r

  1645. # S4 G# Z. k/ L. Q( }9 ]
  1646. ; enable automatic encoding translation according to. d3 w, ~3 Y0 V5 U4 P- z: K
  1647. ; mbstring.internal_encoding setting. Input chars are, L, D% F1 Z7 j; x  ]/ U7 U
  1648. ; converted to internal encoding by setting this to On.9 h. q/ t! e4 v# W" O2 C& C7 K# I
  1649. ; Note: Do _not_ use automatic encoding translation for8 V. d5 g+ Z5 `' u9 L( a3 Z! q! U/ [
  1650. ;       portable libs/applications.
    ) U, l1 g% `4 i# [8 m7 I6 O
  1651. ; http://php.net/mbstring.encoding-translation# U% y! t# `5 \/ R( G; [
  1652. ;mbstring.encoding_translation = Off) u+ C% y/ Z$ D8 e  W' @

  1653. $ v+ `# g: h( y) f8 v
  1654. ; automatic encoding detection order.
    9 T5 N9 r% H( O# V' U: y4 b9 q
  1655. ; "auto" detect order is changed according to mbstring.language
    # O, {8 B; P! z/ `& I$ ?
  1656. ; http://php.net/mbstring.detect-order/ \4 [, N$ a, A0 k4 N* V$ x! k7 S
  1657. ;mbstring.detect_order = auto1 o. U6 F* ]& b2 A' x+ `
  1658. 5 c8 `0 X: u. w; m6 o  k3 J8 V% P% [  {
  1659. ; substitute_character used when character cannot be converted' P! v$ Q  [; n; p/ T& [  w/ q
  1660. ; one from another9 ~1 D2 ^; m# T9 C' `8 U+ o
  1661. ; http://php.net/mbstring.substitute-character
    7 Q3 a/ v1 l3 n6 i. a; \
  1662. ;mbstring.substitute_character = none. E' q1 Q, M! {, S1 I

  1663. ; m3 V5 X: i/ U3 ^8 x6 V8 \, I
  1664. ; overload(replace) single byte functions by mbstring functions.% e/ G% n4 A( Y9 V- `) Y. r
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),+ U/ M+ M7 ?9 K, N. ^) [7 `
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.' @" M" L0 v* K  f+ [$ q
  1667. ; For example, 7 for overload everything.% _. Y# l; Q3 {, p, x* g
  1668. ; 0: No overload! @2 Z% O4 V' o4 Z
  1669. ; 1: Overload mail() function
    6 ]* |6 Z5 N- F2 ~
  1670. ; 2: Overload str*() functions
    ' n0 y. k- a; W+ @; U
  1671. ; 4: Overload ereg*() functions
    / y+ |7 p  _  P& l  _
  1672. ; http://php.net/mbstring.func-overload9 x* o% {5 \/ o, G8 U7 l& I8 H0 ?
  1673. ;mbstring.func_overload = 0
    + ]8 k+ F8 F4 ~! v: X) K
  1674. , @/ R4 f* S* E1 _
  1675. ; enable strict encoding detection.
    ! ^/ b% s+ O5 h! f
  1676. ; Default: Off' T7 B0 X; v7 ?( j5 w. X& |
  1677. ;mbstring.strict_detection = On4 O8 _& r8 o$ }) }% c

  1678. % e: N& }% v7 _* l; r" j0 z
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    & G9 J" n6 M' I% L
  1680. ; is activated.5 v) Y) G- A; C, T; f7 [* k
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)+ }5 ]4 S& {8 ^3 v* I0 H
  1682. ;mbstring.http_output_conv_mimetype=
      V. C* X- @/ }1 L, d3 T4 g

  1683. 2 ^1 h7 R% {, A! E, G6 b+ z( F
  1684. [gd]
    . T  c1 ~6 R* A' f# V! A5 ^4 {( x3 y
  1685. ; Tell the jpeg decode to ignore warnings and try to create6 c4 ?9 N' i( X! R2 I$ t0 B
  1686. ; a gd image. The warning will then be displayed as notices
    ( r7 f% K/ r% `8 O, C. c
  1687. ; disabled by default
    $ N4 f$ r& R  m7 I1 j
  1688. ; http://php.net/gd.jpeg-ignore-warning9 }' `, [  _$ e0 r
  1689. ;gd.jpeg_ignore_warning = 0
    1 L5 y! n+ E' d; \/ q/ v
  1690. . }& ]! ]+ y  G' f3 ?/ c  |7 M% J" I
  1691. [exif]
    ! w5 a1 p, c/ T  V( B. s
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.1 n+ e' `+ J: U0 |- g
  1693. ; With mbstring support this will automatically be converted into the encoding9 k( v8 U, i3 U6 I: i
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    , j" a2 @1 G4 S4 `
  1695. ; is used. For the decode settings you can distinguish between motorola and
    4 e6 Y2 G2 b8 a! c, I, T% \  ~
  1696. ; intel byte order. A decode setting cannot be empty.: w+ h2 U- t: C! Q. ~; Y3 M! q5 Y
  1697. ; http://php.net/exif.encode-unicode5 Y0 H# t* d: l
  1698. ;exif.encode_unicode = ISO-8859-157 w% G3 J3 W8 {7 C; d" j& L' _
  1699. * e( l. w4 O1 u$ U
  1700. ; http://php.net/exif.decode-unicode-motorola
    4 q& j" V: f# g* j  L- b+ k+ [
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    5 s* i. D+ C$ Z. K6 h3 h! r% h
  1702. 7 J1 Z  s' e2 e1 D! ?3 y- ^
  1703. ; http://php.net/exif.decode-unicode-intel4 c# N2 m# i6 o4 C- d( V* G
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    7 H/ C0 ^! e9 K; I

  1705. . F' |, L3 r) `  w# \' I" e
  1706. ; http://php.net/exif.encode-jis2 D- N& `* ^% w/ Q
  1707. ;exif.encode_jis =
    ! p7 w" K# k/ H  F3 w% V
  1708. 3 |" ?+ R  I2 D$ }# @* Y$ J) S  C4 W
  1709. ; http://php.net/exif.decode-jis-motorola
    & }7 Y( V" e  k, |& V3 d
  1710. ;exif.decode_jis_motorola = JIS# A8 P8 U2 u$ H' S6 @. i# ~: v! S: P
  1711. " c0 H# [7 L" z( d! x; m
  1712. ; http://php.net/exif.decode-jis-intel; z3 }3 @% f, o7 e, A/ Q) f+ D
  1713. ;exif.decode_jis_intel    = JIS" P( I$ y5 D2 n3 r2 @& _4 Z2 A

  1714. 7 t$ a& m4 C4 f) k8 M% v( S: A0 E
  1715. [Tidy]9 B! x5 j- k3 k+ {
  1716. ; The path to a default tidy configuration file to use when using tidy7 o6 r1 J# u+ Q' k
  1717. ; http://php.net/tidy.default-config; d$ P2 O3 y2 u% i- I- I* ~% i' G
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 {' }2 Z8 r9 H# _( d8 J( F6 E
  1719. + U% ^- c8 E3 \
  1720. ; Should tidy clean and repair output automatically?
    , O1 o; G+ @# Y6 b# S1 F! E- q9 X/ b
  1721. ; WARNING: Do not use this option if you are generating non-html content4 K0 J6 F+ S) q  z
  1722. ; such as dynamic images; J8 l' e8 I  v& t
  1723. ; http://php.net/tidy.clean-output
    ' ~9 }- U0 O  W1 e- E
  1724. tidy.clean_output = Off1 k. E8 ^% T6 ], ~6 x9 ?

  1725. ( M1 z6 y& `. U. q) O. ?
  1726. [soap]
    3 ^4 [, m' _  _- h
  1727. ; Enables or disables WSDL caching feature.; V% D8 z. g' }; l' s+ z2 I4 I4 o
  1728. ; http://php.net/soap.wsdl-cache-enabled
    1 O1 H# Y, D5 c8 I; f
  1729. soap.wsdl_cache_enabled=1
    7 R- A. f; N  s& K3 Q, p
  1730. % G3 P& G  ]0 X3 O
  1731. ; Sets the directory name where SOAP extension will put cache files.; r- y( y: r( T
  1732. ; http://php.net/soap.wsdl-cache-dir
    3 ~5 P6 L9 w1 N1 _( j! P
  1733. soap.wsdl_cache_dir="/tmp"* }  C# V! g8 A& J

  1734. 1 ^( r8 w/ _9 B  o: G5 P! L
  1735. ; (time to live) Sets the number of second while cached file will be used
    ' ?% e- Q! S# P6 \. w
  1736. ; instead of original one.
    % L" ^; a5 i7 r3 w+ u9 ~0 J
  1737. ; http://php.net/soap.wsdl-cache-ttl+ i8 D3 y1 f- H, R% E  i2 K: W, V
  1738. soap.wsdl_cache_ttl=864002 c9 j9 ~6 z& n0 a3 A. C
  1739.   y/ Z3 K0 V! X# z8 M" k" \
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    % A2 r7 w9 x' U! D" R
  1741. soap.wsdl_cache_limit = 5
    # B' G! T7 e2 a% O: _/ S2 l

  1742. 5 Q" h! {' l# e
  1743. [sysvshm]- e3 W! t6 z$ \
  1744. ; A default size of the shared memory segment, j, e/ z) n3 s$ Y1 m8 ]3 S
  1745. ;sysvshm.init_mem = 10000
    8 Q7 |0 O6 H3 \
  1746. ( }& z5 x- H; `0 H  R1 T" ^
  1747. [ldap]
    ! i* f, o: i" J& h
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    & _* ?5 z& r* F% G+ T3 X  Q9 e2 |
  1749. ldap.max_links = -1
    + X# o+ q7 M2 \; S: a7 Z
  1750. + ^% w9 C/ ]; E# R1 k2 Q/ N# i
  1751. [mcrypt]
    & g; w+ g/ s- V0 P2 i
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open  @0 q. ~; l6 S
  1753. 4 Q2 m' k% E1 M6 @
  1754. ; Directory where to load mcrypt algorithms* E. r" b$ F' d6 I
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . x  l: f$ g7 ]4 ~
  1756. ;mcrypt.algorithms_dir=
    0 B5 r* W) R/ ], W5 A6 F

  1757. 0 h  m) P/ L5 O$ N. K8 U7 w
  1758. ; Directory where to load mcrypt modes" s0 r4 V2 s* \7 ], x9 s7 h' E7 D- M
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 r0 @0 {9 _4 _7 ~% Q7 Q3 ^6 ?
  1760. ;mcrypt.modes_dir=( U; m3 \2 R; ^4 y  R/ T' R

  1761. ' _- g) `4 x3 a8 r
  1762. [dba]
    - K# M. Q  @0 j; J% P2 M" s
  1763. ;dba.default_handler=! t* A3 s. Q, E
  1764. # `$ ~" |5 X1 g+ p4 n5 x: l, c9 f
  1765. [opcache]- h" \5 O" d" I, h0 k. W, q' i2 x' s" ?
  1766. ; Determines if Zend OPCache is enabled
    ' O7 _2 S! H4 i5 G$ O+ g; a
  1767. ;opcache.enable=0
    3 Y1 s# o. b5 Q. a/ T

  1768. 1 k" S3 d! @/ O: w0 a1 l
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    - V' e0 ?; X, v$ M8 D# L
  1770. ;opcache.enable_cli=0  @" Q9 d0 g/ E' C1 n5 p

  1771. / G5 A* l) ?4 d4 k2 l; T! w' _4 b5 O
  1772. ; The OPcache shared memory storage size.
    + D! j% P" u* N7 Q
  1773. ;opcache.memory_consumption=641 s$ V: }1 I2 Z, @1 p8 d' v

  1774. 1 J* i/ A3 h  b3 ?; F
  1775. ; The amount of memory for interned strings in Mbytes.. z5 Z5 r8 M' t; h
  1776. ;opcache.interned_strings_buffer=4
    ' b$ \+ x! {1 Y$ m
  1777. ) ?$ r/ l4 v1 Y  ?
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    9 r7 p  V7 a. y5 I/ Y/ w" f7 a% c
  1779. ; Only numbers between 200 and 1000000 are allowed.
    8 g6 y, H/ \7 I8 s; ]$ g$ t  c
  1780. ;opcache.max_accelerated_files=2000
    . }& V& w0 N, J6 o/ ]5 h
  1781. ( G( _6 w& u4 a$ M: B* }1 l+ B
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.& i8 S- Q& F+ h. Q& p
  1783. ;opcache.max_wasted_percentage=5
    8 o8 Z7 \/ n9 f' A) x. F5 h

  1784. 1 p0 k: ^6 d" t
  1785. ; When this directive is enabled, the OPcache appends the current working. m/ t$ |3 R, Q6 V% v! A7 e9 c" k
  1786. ; directory to the script key, thus eliminating possible collisions between( A# f7 E3 m! ^  }5 T5 v8 G. D+ F
  1787. ; files with the same name (basename). Disabling the directive improves
    * O. t% @8 Z% P+ F+ }& N
  1788. ; performance, but may break existing applications.9 H( f" r( o) A  k4 c
  1789. ;opcache.use_cwd=1
    ( d* p) ^/ e( ]4 N" o4 T

  1790. 3 R& g; J/ i' x; _) ], q+ s0 p
  1791. ; When disabled, you must reset the OPcache manually or restart the  W5 m7 M" P, q. Y# M/ a
  1792. ; webserver for changes to the filesystem to take effect.
    - _, R. E1 v  y
  1793. ;opcache.validate_timestamps=1
    " X2 ]( N2 ~* D+ |! r1 b& h# }: Y

  1794. - A+ i+ Q! h7 J' a; p! _
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    0 g0 b( ]* c8 E3 {( }: ?, ~) R
  1796. ; memory storage allocation. ("1" means validate once per second, but only/ {* F" _2 Y: n6 n$ h  d, V
  1797. ; once per request. "0" means always validate)4 c& E! X6 m# b9 V
  1798. ;opcache.revalidate_freq=2
    , G$ e3 o* o! t9 v. R6 H% R$ }

  1799. ) j' p- w, E  v( S! O& L. u
  1800. ; Enables or disables file search in include_path optimization
    7 L. J0 \5 j, i- t
  1801. ;opcache.revalidate_path=0; e3 _# Y/ Q0 {
  1802. 2 ?. h6 o$ b( T% d4 c
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    : ^! k3 h, x: w8 e" y) A/ d, N
  1804. ; size of the optimized code.
    6 D% U4 O- P- c) P. \8 R
  1805. ;opcache.save_comments=1
    ) t' C* ^( `& o7 q) \

  1806. - k# V$ v; M( `8 G, @2 U! o
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code, e/ ~0 Q0 X$ a# ?4 M
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.8 ]5 j' r2 N5 A6 h% ?
  1809. ;opcache.fast_shutdown=0
    ( e5 E; {6 x. l) v  u
  1810. $ [9 J0 k7 f0 D. v
  1811. ; Allow file existence override (file_exists, etc.) performance feature.& P0 ?: l9 K$ N/ Q, L
  1812. ;opcache.enable_file_override=0
    : x" i9 T% q3 U6 k. w8 G
  1813. & h: A/ C: k3 O* E2 T
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 m; G6 o! f$ ?. P3 ^" h6 Z6 t
  1815. ; passes/ }! p7 L; K  P& i3 ^" y  K
  1816. ;opcache.optimization_level=0xffffffff
    $ J. c$ v: W1 M2 O

  1817. # J8 k% p5 g0 ^5 z  }5 D) h: J* \
  1818. ;opcache.inherited_hack=1- \2 h, t7 a5 y7 a2 d
  1819. ;opcache.dups_fix=0* j1 p% I& j! V, u/ ]. m( x* K  F; i

  1820. * @+ Y+ e) g' l' ~9 T' e
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    + u2 p! r3 _7 y2 Q: p
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    # F1 K  z0 |/ U3 [7 B& b! }& _
  1823. ; that should not be accelerated. The file format is to add each filename! g( Y: k1 y# L7 r$ }+ }2 A- v
  1824. ; to a new line. The filename may be a full path or just a file prefix6 c1 d0 K$ y: c6 K! j( ^0 @! Q8 t
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www6 v. b& o- X# @% d
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ) R" Z+ U( J; m" C' }$ L
  1827. ;opcache.blacklist_filename=
    5 d& A$ i7 N/ e0 Q% o
  1828. 3 K% E% n. I$ _2 r! z$ z. x: H  s
  1829. ; Allows exclusion of large files from being cached. By default all files
    , p* D) N) c6 E, D, }$ k# T  w8 h
  1830. ; are cached.# P) z1 b& v4 [  e
  1831. ;opcache.max_file_size=0
    ( A$ h5 {5 X2 y/ R- o" [

  1832. 6 W6 K; e) f: J9 h9 b6 Q
  1833. ; Check the cache checksum each N requests.
    . D. m6 [* |& k  U4 _' ?
  1834. ; The default value of "0" means that the checks are disabled.5 \5 K& a  D8 D( @
  1835. ;opcache.consistency_checks=0. C. H) K- L% M7 U/ I! V3 z

  1836. ! `9 t/ }& p! e! ]3 R4 b5 Z
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    $ ]9 i; x% M# W. O3 |
  1838. ; is not being accessed." e0 F6 n" b; L) U+ _" A
  1839. ;opcache.force_restart_timeout=180
    4 H7 P/ g: o) C: [
  1840. ( ^4 _2 f) Y/ R" G0 r* k
  1841. ; OPcache error_log file name. Empty string assumes "stderr".1 ~2 G4 s* N; V' F5 ~% m8 T3 k: W# K0 T
  1842. ;opcache.error_log=
    + c( K5 O5 d* g/ O
  1843. + {/ J7 M6 u0 C# m! Q+ f1 V) l
  1844. ; All OPcache errors go to the Web server log.
    ' G0 S; h& h" n; S( N  d
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    . k: M$ J" t0 [( C+ r: Y5 c9 t
  1846. ; You can also enable warnings (level 2), info messages (level 3) or! y7 Q- j; p1 E5 u! N4 L/ `
  1847. ; debug messages (level 4).
    " `" X  ^5 ^; y4 P7 v1 o! B  L' g2 b
  1848. ;opcache.log_verbosity_level=1
      n0 y2 E  F  l, E- @

  1849. . z, U! @- s. M9 G* T4 z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.( C# X. j3 I3 n/ @
  1851. ;opcache.preferred_memory_model=4 S% l" c8 f% ]
  1852. ; ^2 T* r7 Q' B+ i& f' ]8 U" `
  1853. ; Protect the shared memory from unexpected writing during script execution.
    7 B5 L3 T# H& n6 _. s& |& z8 n! Q
  1854. ; Useful for internal debugging only.+ ~3 C7 u# _* P1 R7 w
  1855. ;opcache.protect_memory=0+ c1 S  b* Y) h) ?9 k  f

  1856. ' ]& U# W( }) @; L2 E8 w
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    , r% m2 V! C$ O7 a7 D
  1858. ; started from specified string. The default "" means no restriction0 l* f; c# Q2 g) h5 ]$ G6 o
  1859. ;opcache.restrict_api=8 P- T6 b6 C# x5 L/ I7 {( f: f

  1860. 9 T. g; {9 e( Q7 k) f
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP/ @7 i* E% J3 h
  1862. ; processes have to map shared memory into the same address space. This
    $ i( Q, J& Z8 `# l; `
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ' G2 F/ ]9 x3 Q
  1864. ; errors.
    % a  A0 E+ P9 Z2 r# U8 V8 _
  1865. ;opcache.mmap_base=
    ; e! ~+ a0 |/ V# g

  1866. 5 I4 n: ^! D" U) |
  1867. ; Enables and sets the second level cache directory.7 x) D. u. j/ P5 I% y* g) B* m, i) S/ V
  1868. ; It should improve performance when SHM memory is full, at server restart or
    # y  O( D# {2 m" Q9 Z" }0 Z
  1869. ; SHM reset. The default "" disables file based caching.
    ; h3 _. h, f  H5 \. @/ U
  1870. ;opcache.file_cache=
    & b. R/ S& j! X  P0 z/ R

  1871. 2 p. F( U8 I$ W; N# \
  1872. ; Enables or disables opcode caching in shared memory.) ?3 V: d' H* Z6 F6 n9 A2 X
  1873. ;opcache.file_cache_only=01 p4 N4 c2 U( ~( E7 ?" Q

  1874. . j& Q; K0 i/ S( p' f1 l
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    $ C& Z" d; x5 H& c- `; O5 D
  1876. ;opcache.file_cache_consistency_checks=1
    5 X5 ^4 |. M. Z' Z) [! [/ Y2 g

  1877.   K9 X4 o9 F+ M# |) S& U
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to" I. G5 y+ r& R' x' f: ]
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    & R0 s8 K& N7 k; T7 Q6 B5 G/ k' r1 I
  1880. ; cache is required.. Q0 w- R) s, f4 F2 d+ M, j
  1881. ;opcache.file_cache_fallback=19 F; Z( P- U; h  ^
  1882. 5 I" P/ g4 ~) S
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.! m9 U% S* f' D# O% N; U3 w
  1884. ; This should improve performance, but requires appropriate OS configuration.- t! n+ Q% d/ _# g9 j, @
  1885. ;opcache.huge_code_pages=1. o+ P# w: u2 h6 O* O
  1886. , G  v, a" u' K( {3 ]
  1887. ; Validate cached file permissions.3 H' R, w& R; y: T, M8 b
  1888. ; opcache.validate_permission=0
    * R9 k. e: b! E* S* Z  A' J

  1889. - W0 l' j- x: N/ _
  1890. ; Prevent name collisions in chroot'ed environment.9 Q' {7 p0 e( ]
  1891. ; opcache.validate_root=0& G0 D, V4 p: Y, @' ?5 o: F
  1892. $ }$ j3 I" q! @' |, M: S
  1893. [curl]
    , x# {/ Y9 i/ h
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an8 {2 ]8 C# m0 q) S% X$ w( r
  1895. ; absolute path.$ `+ S6 V& V! K) P! L5 z
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    : B4 E5 [6 M% b& h( v( a$ [
  1897. . B0 J6 ?5 {' B
  1898. [openssl]6 `0 S3 \, y1 o% w/ w* a
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ( O" C/ @) `( i+ V7 O' f
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    , [8 F4 h9 ^- b! E* a; x9 F
  1901. ; not specify a value for this directive as PHP will attempt to use the4 ?/ Q* h& k1 c: e: Z' F  h
  1902. ; OS-managed cert stores in its absence. If specified, this value may still! c, s; ]6 m* B7 c
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    & x2 q, {- C# g2 R+ w
  1904. ; option.; J. |4 {1 t0 @$ i+ t) l
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* G$ d& ?+ L* F  A1 g+ W

  1906. 8 a, ?1 E  Y* ]9 b. {
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    + H; B3 p2 g  r! v0 A$ I5 e
  1908. ; directory pointed to by openssl.capath is searched for a suitable& O3 e/ v1 r7 |) J, t9 A/ ^: J
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    3 P6 [0 L% S/ h, c
  1910. ; Most users should not specify a value for this directive as PHP will$ O4 k- g. T" V2 R3 d2 {
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,0 x( s* J" b) d, D# u" w1 l
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    8 D& i; T- a/ h$ O0 y7 o: I
  1913. ; SSL stream context option.
    6 Z5 I$ p' R, }% V8 c
  1914. ;openssl.capath=
    3 p: _$ l" k0 m7 w; m" j5 G

  1915. 3 G& ]+ a+ |" p: f* i5 h
  1916. ; Local Variables:+ N% l6 w$ `/ w1 L  i
  1917. ; tab-width: 4" t. Z( B9 @  o7 g; W
  1918. ; End:
    ; Y1 ~0 @9 I* R. s9 o9 z2 B
  1919. % o' E% Y7 U" F8 S& n
  1920. ;eaccelerator
    ( A) S+ K/ |' ]: E" [1 c

  1921. 2 C9 t* ~  O" |* b
  1922. ;ionCube
    # \  C' ]& v' z4 N- E
  1923. & x+ i  o9 h" \3 f
  1924. ;opcache$ @+ J3 H( `+ D. r
  1925. ( s% ^1 z8 C- x. z9 W6 Y' ?
  1926. [Zend ZendGuard Loader]
    : @0 O3 ]* s, b! f$ w9 F+ L, r
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    # y) b- ?$ H. _1 A; ~  W  `0 `$ r( }
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    # j: r3 \7 l8 |# N: }" i, a
  1929. ;zend_loader.enable=1* g) A$ l9 N. Q1 b) l
  1930. ;zend_loader.disable_licensing=0
    8 A% O; S1 ?$ H4 o) P
  1931. ;zend_loader.obfuscation_level_support=3% K, J6 H) X: l( c& O2 o
  1932. ;zend_loader.license_path=
    - m$ v% f7 o  p
  1933.   X* g8 D! N7 f
  1934. ;xcache
    ! S) Z* m7 M# J8 c
  1935. - \$ v& _5 x! y; I3 f* H$ n$ t
复制代码

& p2 R7 M6 b/ \! Z1 [& W
5 A1 L4 q& y6 K+ ^. q4 Z
* c( \* e8 Y. Q$ B2 g6 C
- E& `6 r( ~4 b8 \, o! r6 Z/ @
8 Z& E0 \8 x& m% ?+ p7 a0 J' ]2 Y3 Y7 v/ R
, z# }! T6 f5 W- s$ Z1 W) B
PHP5.6版本原始设置4 n$ P* h; |# T; g+ ^9 N: t9 w7 Y4 D

2 C7 ~* E1 [; t. @: R
  1. [PHP]8 ]" x; M1 F5 W+ ?

  2.   V, r- O* ^/ ~" F
  3. ;;;;;;;;;;;;;;;;;;;
    2 L5 v7 Q* n6 I: u3 j
  4. ; About php.ini   ;. G8 N) S/ y) r3 i
  5. ;;;;;;;;;;;;;;;;;;;
    + {6 S7 R4 o  ~2 L! ~8 v$ M
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    % b% \# t, G; x/ C! f. B
  7. ; configuring many of the aspects of PHP's behavior.
    5 W. }; m* T5 P( I5 X) Z
  8. # }/ a, K4 r3 c. ]2 P3 [* P* v+ a
  9. ; PHP attempts to find and load this configuration from a number of locations.. O& r; t, ~0 T& A
  10. ; The following is a summary of its search order:! O; ?7 {" |8 `/ q# n; }8 R
  11. ; 1. SAPI module specific location.5 p$ ~; _2 H. n( W7 S) H& H& }
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)4 ]6 ?' D) p& w* j' ?
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ) B! G, {" q- B2 E
  14. ; 4. Current working directory (except CLI)
    7 u6 @( ^! F8 c+ d. _
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP* n+ O+ o& D8 {) w1 `: f
  16. ; (otherwise in Windows)( Y1 B6 ^  O0 H* F" a9 G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the$ P- ?2 ]  S8 n, y+ o- t8 o
  18. ; Windows directory (C:\windows or C:\winnt)$ p$ Q6 v0 f* ?* p, s0 |. a
  19. ; See the PHP docs for more specific information.0 F0 a3 O& i1 i8 Q3 H6 g' H8 y0 b# C
  20. ; http://php.net/configuration.file: [/ f* R0 ]% z5 V: g0 y9 r

  21. 8 n( Q4 }  q- s( x% R0 V1 y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines2 G# e  A: }0 b$ j  k) H! g
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).) p1 z2 u/ m2 v' o% |0 d3 C8 H
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though: U2 M& ^2 ?7 J' x6 x# s( o8 q
  25. ; they might mean something in the future.7 z/ m# i- g1 |7 i1 k: ?

  26. ; E* w4 }3 t+ r4 U& p( e
  27. ; Directives following the section heading [PATH=/www/mysite] only- {; y& T/ v& @/ m: |  J' A
  28. ; apply to PHP files in the /www/mysite directory.  Directives' {: I6 q; \- Q
  29. ; following the section heading [HOST=www.example.com] only apply to% \6 f- r) ^9 `% e
  30. ; PHP files served from www.example.com.  Directives set in these2 Y8 ~' f. n" a0 G2 o  }
  31. ; special sections cannot be overridden by user-defined INI files or
    ( v0 F6 K% j3 u8 Q
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    # o1 V$ A, c/ ]
  33. ; CGI/FastCGI.
    5 N' d& X6 X, B$ q9 {1 E
  34. ; http://php.net/ini.sections% `+ i9 T+ a- j- C" s+ w' k

  35. : h6 A: Z" P9 z: Z1 T! C
  36. ; Directives are specified using the following syntax:  f0 h) y6 y- k4 v) M( Y; N3 O
  37. ; directive = value
    3 x& F! m6 o6 f! b# l, \
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 F1 \5 P' }: j% }# }
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( S: t" c6 d$ X
  40. ; There is no name validation.  If PHP can't find an expected
    3 L  }& Y' @6 l6 r
  41. ; directive because it is not set or is mistyped, a default value will be used.( P$ B- W: j6 t' f# [! p4 F9 O/ n

  42. ; W5 @+ C+ |3 z% f, {/ M7 n
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one0 t7 X8 \/ Y8 n) c: o! B; N
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression- [1 m9 r, o, q4 A4 f7 V7 o9 v* d3 M
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a! w/ m+ T; j0 r: V! L4 w1 V9 A4 e$ t
  46. ; previously set variable or directive (e.g. ${foo})) ]+ k9 `/ F' e6 w( Y

  47. & a% W. ~% g: {5 I1 x
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:5 R( m" h3 g7 \7 E
  49. ; |  bitwise OR
    6 j' S# o6 ^; ^6 z% h2 v
  50. ; ^  bitwise XOR
    / j+ E, Z& }* i+ U
  51. ; &  bitwise AND0 @) f3 ~7 O  Q4 W/ G* x2 ~* t6 W
  52. ; ~  bitwise NOT8 S. M( e( n. ]  K* D% D$ ]
  53. ; !  boolean NOT' x7 f: r% ^4 b# B

  54. / W. }' [5 |. \' W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    9 T; X/ L$ a8 x$ u$ @' X/ v& F
  56. ; They can be turned off using the values 0, Off, False or No.3 ]% ?: k( O- v7 H! p

  57. & R2 D$ A) [- ]+ w: b7 {' `0 n- u
  58. ; An empty string can be denoted by simply not writing anything after the equal: m/ V7 n/ y/ Y% ~
  59. ; sign, or by using the None keyword:% k" y; o6 ]$ I5 C5 Y/ U

  60. + |0 l/ T. {/ r( r6 i1 R! e# `
  61. ;  foo =         ; sets foo to an empty string
    % D3 ]) b/ b1 f) ~2 ^. ~& ~6 `: ?
  62. ;  foo = None    ; sets foo to an empty string
    7 Y9 r$ m. {- @& n- G( x
  63. ;  foo = "None"  ; sets foo to the string 'None'; ~" W7 S- v1 U
  64. * x* V' m3 L6 Z' ^# V( z
  65. ; If you use constants in your value, and these constants belong to a
    8 P+ v! V; c5 \3 Z- a" C
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    * L' s0 z: Z) ^, B6 m
  67. ; you may only use these constants *after* the line that loads the extension.% x0 {6 v/ ?' l
  68. # p' @" b" u0 Y( ?; s
  69. ;;;;;;;;;;;;;;;;;;;1 K9 T" y% t; B5 A0 K
  70. ; About this file ;
    1 R& U5 t; }, l8 O/ _
  71. ;;;;;;;;;;;;;;;;;;;
    - j  \0 m3 t( p, R
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! e6 l- Y6 Q  e& E: W
  73. ; in production environments and one that is recommended to be used in, O0 ^' v& z& N& X
  74. ; development environments.
    $ ~" ~9 |! ?, a
  75. 0 W# P& y4 l) F: P) U/ o
  76. ; php.ini-production contains settings which hold security, performance and
    7 X7 P! C/ J- `
  77. ; best practices at its core. But please be aware, these settings may break
    6 C9 h( i% ^+ C  D
  78. ; compatibility with older or less security conscience applications. We
    4 ?" d( }! M# z& G( E3 x( ~
  79. ; recommending using the production ini in production and testing environments.
    $ c( b: a- L# f4 ]# t8 A" \; M

  80. 0 X6 g3 ^; v% d# P, u5 a
  81. ; php.ini-development is very similar to its production variant, except it is+ ]( d' C  h8 p8 m  N
  82. ; much more verbose when it comes to errors. We recommend using the1 q4 @6 S' n6 `' A& J. w* |
  83. ; development version only in development environments, as errors shown to0 D2 d* t; z/ X+ R
  84. ; application users can inadvertently leak otherwise secure information.8 f+ @! b7 ~( C; ^# t3 `
  85. ( Q  E8 \, T3 P1 @1 s7 B# Z0 X" f* r
  86. ; This is php.ini-production INI file.& R2 b9 F3 [9 g4 F9 _+ H
  87. 9 i+ K. y/ }& y9 U5 B( L, M& }, ?
  88. ;;;;;;;;;;;;;;;;;;;
    ! V! j, g9 z4 x( i
  89. ; Quick Reference ;
    6 j# D: _4 M4 D$ b# [5 O: \
  90. ;;;;;;;;;;;;;;;;;;;8 S3 G4 }, ?+ f! {3 a
  91. ; The following are all the settings which are different in either the production
    # ^* g+ P  ]+ G# t
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ( q, G0 t/ V% g
  93. ; Please see the actual settings later in the document for more details as to why
    " a- g: y0 m+ h. f/ B
  94. ; we recommend these changes in PHP's behavior.) U" `7 f: t% A% m+ q

  95. % S- P5 h) l( N7 W' Z/ c
  96. ; display_errors
    ( V+ G6 t% w4 y
  97. ;   Default Value: On
    $ B' I  `  P3 M+ k
  98. ;   Development Value: On- b; d) }9 E/ S! ]1 A
  99. ;   Production Value: Off
    . H6 D, C4 [" R* z$ C

  100. 3 B' i" f- V1 u  v" P0 `- H/ p9 \
  101. ; display_startup_errors
    # z/ n. v; M, P7 y
  102. ;   Default Value: Off
    9 E5 D4 S/ I, b0 Y
  103. ;   Development Value: On- K- C: M% j  E1 F: G" ?+ V
  104. ;   Production Value: Off
    3 v( K: \5 m2 s  T+ h- {$ ^7 Q
  105. 5 B- N; ?* A* L6 ]& t! v/ ^4 y
  106. ; error_reporting" j$ |  z; D1 ^7 c  o( o  r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  S: ~5 X( O& w
  108. ;   Development Value: E_ALL1 m/ ^4 c9 d: i7 c$ c* Y" |
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT6 N. D6 p7 g  u+ L

  110. 9 M* B* I" _6 l, G& D
  111. ; html_errors- O2 j+ e9 G, Y
  112. ;   Default Value: On
    # K" Q% t/ y6 x& m( Q: f
  113. ;   Development Value: On5 d, p& `3 A* w2 l  `
  114. ;   Production value: On6 B( v0 d8 _6 u9 K/ ~- Q

  115.   [6 d! D/ ^. g$ d9 ?, C
  116. ; log_errors
    % [: Z% X" h7 Z/ v  b
  117. ;   Default Value: Off
    0 i" Y0 t( R7 V: w6 ?* r. z$ |* l; ?
  118. ;   Development Value: On
    * @# O( x* r3 W' f: d! R
  119. ;   Production Value: On
    - x$ j5 `; d! C3 G+ X. O2 F0 ^
  120. & B2 L/ Q' L* L# b
  121. ; max_input_time
    ( G. L5 W4 P$ h7 b
  122. ;   Default Value: -1 (Unlimited)7 d4 ]8 D9 G" z( Y" {  o
  123. ;   Development Value: 60 (60 seconds)4 ]& t9 N1 i( |7 ]) @5 r: _9 w, y
  124. ;   Production Value: 60 (60 seconds); n! W% k0 C. R/ f! a% X6 B9 {& v
  125. % y: S5 X* n* M' [' `2 Z* r" l* X
  126. ; output_buffering
    $ |* c2 v  l* b2 D
  127. ;   Default Value: Off9 t& I( [1 X4 N( y4 Z9 M  \2 V
  128. ;   Development Value: 4096" ], k" B# @( J* J
  129. ;   Production Value: 4096
    ! B2 N& V) A+ [7 t! Y# p0 ^; G3 A
  130. 0 V. }; N/ |  E* W- y( i
  131. ; register_argc_argv
    . K- s/ H. P/ C  Y: Q, B
  132. ;   Default Value: On
    # H9 V' n/ L! C8 T( x" U) x
  133. ;   Development Value: Off
    ; G1 p$ r. _8 l* k" p
  134. ;   Production Value: Off
    . m' T! i6 K) k- f5 b
  135. ! f, k, p8 f7 P" d( r! E
  136. ; request_order- T" c' W3 T/ J5 h$ x! q( N
  137. ;   Default Value: None
    4 ^" I' `" j6 l( U" e+ g: g
  138. ;   Development Value: "GP"0 `$ G! w8 R8 z6 v: Q4 y5 d
  139. ;   Production Value: "GP"
    6 ~7 f) B# a* |  M  ?
  140. ( a' X( E, D5 m- m2 |! Z
  141. ; session.gc_divisor9 D( N# A" k6 J, M$ O, M
  142. ;   Default Value: 100
    * {5 P) z/ _1 `: F
  143. ;   Development Value: 1000
    7 k3 V  U; j1 `. k
  144. ;   Production Value: 1000
    ' o. H9 y9 W' X+ }% u. L8 j
  145. % F% h6 B. \& {% l8 E# Z
  146. ; session.hash_bits_per_character
    3 X% X$ K+ K+ E! S
  147. ;   Default Value: 4) |2 K/ g1 @4 |0 K) c9 A4 u6 Z
  148. ;   Development Value: 50 z/ a; k7 D1 ]) X2 p" P
  149. ;   Production Value: 5
    7 A+ U! C! r  f4 F2 }8 N$ A9 y

  150. " }4 y# B: _- v  N- r
  151. ; short_open_tag
    3 i! I7 ~0 J0 s/ y. }( X0 x* Y
  152. ;   Default Value: On
    7 I7 s. X% N3 P# u8 C
  153. ;   Development Value: Off
    . w& r4 [- p2 h/ f
  154. ;   Production Value: Off
    & D7 a: |: ^* F. X  ?# h1 Q
  155. " H& \8 u. s: ^2 a( t& P: ~
  156. ; track_errors: G/ G' F8 G  Y" O. g6 |- p6 E8 J
  157. ;   Default Value: Off
    . b: n: s0 U2 o
  158. ;   Development Value: On
    + x. v! }$ T' b/ L$ {) W# f
  159. ;   Production Value: Off) b; A0 M* e, Q
  160. + J" D: J1 t5 ~9 ]# _2 U
  161. ; url_rewriter.tags
    % b$ U6 l+ b2 {$ r$ J% j, H) O1 N
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=") O) a* Q, Q. ?0 s% C& H
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) B+ H8 f+ H5 i- a! u
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - A0 P1 D1 }* d; u4 `9 w6 s
  165. . K8 j/ `& ]2 @. V4 _
  166. ; variables_order
    9 ^- k6 g* ^/ p/ V5 y5 y# P' A6 l7 f
  167. ;   Default Value: "EGPCS"# C5 L5 g( t3 }
  168. ;   Development Value: "GPCS"
    / E$ V, Z8 C6 V1 a8 V# K; ]  }& W
  169. ;   Production Value: "GPCS"6 g; |4 f+ y8 X6 f
  170. 3 X! _/ I3 a' V6 l. o2 k- _# P
  171. ;;;;;;;;;;;;;;;;;;;;
      l% O; [3 s+ r1 q: b. U
  172. ; php.ini Options  ;
    . T" U( [5 m/ b' \4 Y- f7 Q
  173. ;;;;;;;;;;;;;;;;;;;;
    ' O% E1 V7 B% d4 j
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    & I9 C; @: |- s
  175. ;user_ini.filename = ".user.ini"8 @/ t9 ?; D: I/ p9 \

  176. 7 V( K/ }# y1 |, B+ J
  177. ; To disable this feature set this option to empty value' b9 j2 i6 V1 r+ G. v6 `; p. z% {' u
  178. ;user_ini.filename =0 B% Y; u. n. I- `! q

  179. 4 |9 r1 g9 d1 J- K/ V
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    # A+ B0 P4 A/ j% |* v; C( s
  181. ;user_ini.cache_ttl = 300
    2 S& R+ t2 v! r
  182. ' n' i9 _8 n$ B* |* I& {
  183. ;;;;;;;;;;;;;;;;;;;;
    ) B7 f# D& |% F3 w$ J% j# }+ h# c
  184. ; Language Options ;# F$ R: o' Q5 Y) L' @
  185. ;;;;;;;;;;;;;;;;;;;;6 E$ b2 J" r- S. i) ]8 h  M' p
  186. * ~- u( g4 }9 ~8 e# Y' y" C
  187. ; Enable the PHP scripting language engine under Apache.0 y5 w; Z( A( F$ Y
  188. ; http://php.net/engine
    ) C  N4 c1 `6 `$ d* K+ t
  189. engine = On; F+ b' E* h7 V

  190. 2 j6 _: B  i: g! G4 l
  191. ; This directive determines whether or not PHP will recognize code between
    # F) K* {3 t: ~; Z3 c- b* l+ m
  192. ; <? and ?> tags as PHP source which should be processed as such. It is, L2 V2 X* v# B% Z
  193. ; generally recommended that <?php and ?> should be used and that this feature* ]: u1 j: W) ?; F
  194. ; should be disabled, as enabling it may result in issues when generating XML
    & i, q3 r* o& `5 {& B/ g
  195. ; documents, however this remains supported for backward compatibility reasons.8 w6 o* ~+ P7 `8 u. D6 Z3 I7 R
  196. ; Note that this directive does not control the <?= shorthand tag, which can be+ e/ m* S1 A' O0 N8 J( U) i
  197. ; used regardless of this directive.
    . g( b3 Y' a/ X
  198. ; Default Value: On  [+ t8 N9 R, p' T( _, S5 K+ j0 H
  199. ; Development Value: Off
    8 y) x. T+ y) B; ~+ M
  200. ; Production Value: Off% E9 c  [( \! p: L9 f
  201. ; http://php.net/short-open-tag
    ; {' O: x  V* p6 W5 H! Q
  202. short_open_tag = On
    / b) ~7 g2 l: V8 |

  203. 2 [) \6 p& D* M' U4 K3 s5 L
  204. ; Allow ASP-style <% %> tags.) g. e) }& X2 c  {* l4 C1 k6 }
  205. ; http://php.net/asp-tags
    # a  {$ i8 I9 F# E) g" ]( B1 E8 K( Y
  206. asp_tags = Off
    : w6 k- g, P4 {- f  H
  207. ) A& F6 U  H$ o: ~- R, ^$ K
  208. ; The number of significant digits displayed in floating point numbers.8 G) s3 ~1 w0 g
  209. ; http://php.net/precision
      _9 z4 ~9 P; |2 H- m6 N9 c" N; y
  210. precision = 14
    ! O  w3 O5 ^, A9 ^3 b* k# a

  211. $ ^  a3 V$ }$ p. @5 x9 X
  212. ; Output buffering is a mechanism for controlling how much output data
    6 G$ O* z7 o0 I# i
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ; h2 h' N" n2 g( M; ]
  214. ; data to the client. If your application's output exceeds this setting, PHP' k+ e  Z7 x) }5 k5 X
  215. ; will send that data in chunks of roughly the size you specify.5 h" \: m8 l+ q7 {
  216. ; Turning on this setting and managing its maximum buffer size can yield some8 o9 K8 S4 Q; u/ g% C( a
  217. ; interesting side-effects depending on your application and web server.
    0 S* s1 r4 R8 W
  218. ; You may be able to send headers and cookies after you've already sent output
    2 h" d: u. b6 ^( j& f" W
  219. ; through print or echo. You also may see performance benefits if your server is4 E" z6 J/ z  O9 r
  220. ; emitting less packets due to buffered output versus PHP streaming the output) x& a! ]9 {. e9 D6 j
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    " h. j% Q$ U) A0 H2 a3 d# Z& b. ], V- A
  222. ; reasons.# v: w$ y; E0 F) W6 |! H2 y
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    . k. S; \- F. t; W  B
  224. ;   functions.
    % \. c9 g; V: \; n: ]0 P
  225. ; Possible Values:0 Z" X! R9 W0 K5 B+ ~
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    & |" k( j( S& y
  227. ;   Off = Disabled
    ' d% h8 p1 i; B( q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.) C" {9 p$ I2 @7 j5 s/ s( E. ?
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 I5 w: F" s' Z4 }
  230. ; Default Value: Off
    7 `2 q8 O2 t2 H8 X2 l. Y
  231. ; Development Value: 4096
    6 s. }0 m. M4 ^8 A
  232. ; Production Value: 4096
    + Q) o% n+ C3 L
  233. ; http://php.net/output-buffering
    ; R5 P& e9 L/ H, L; u: U3 v
  234. output_buffering = 40962 \7 K/ }8 W/ ^! i6 z6 y5 M* W. A

  235. 8 G: F7 V% [' T9 H
  236. ; You can redirect all of the output of your scripts to a function.  For* y( ^6 d/ q% j7 o8 p' }
  237. ; example, if you set output_handler to "mb_output_handler", character
    & {. I; V! D  m; }
  238. ; encoding will be transparently converted to the specified encoding.
    ( G* C+ G& v* U, F
  239. ; Setting any output handler automatically turns on output buffering., E' R8 c" a1 a0 ]: ^# S
  240. ; Note: People who wrote portable scripts should not depend on this ini
    7 ]0 D" N$ Z. L0 t
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    ; M+ E0 M0 m/ d3 T6 g! J) n- k
  242. ;   Using this ini directive may cause problems unless you know what script( A' ?/ t2 b& @0 w" q: F
  243. ;   is doing.
    # `) Q& v$ T9 v0 j' I5 {9 }0 ~, |
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"* X# j6 A7 p# @6 t
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"., P/ C# R, [8 ~
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    % s9 E7 J+ \4 m1 t! B# t
  247. ;   Instead you must use zlib.output_handler.3 }! U8 G  a, `% R3 \8 p* K
  248. ; http://php.net/output-handler8 m# C( I& y+ F# c& ~
  249. ;output_handler =
    9 p3 T; Z4 l9 l% V3 T1 Q
  250.   x7 ?9 R) `' Q
  251. ; Transparent output compression using the zlib library
    " @$ i! \' n( q+ S0 ~" V
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    6 j* s/ Z" i* }- b- D  U
  253. ; to be used for compression (default is 4KB)1 x- q& _; }; L7 X7 B* I
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP8 S6 i: F- G2 a+ Q+ ?
  255. ;   outputs chunks that are few hundreds bytes each as a result of4 A6 D' ]/ D9 E6 ?9 x5 D/ i, P
  256. ;   compression. If you prefer a larger chunk size for better, Q/ M* n+ Z$ }* s7 P* ?% D: Y7 @8 Q
  257. ;   performance, enable output_buffering in addition.4 p! |3 r6 H/ w( C
  258. ; Note: You need to use zlib.output_handler instead of the standard
    4 l9 F% o2 q" Q* N, g& a
  259. ;   output_handler, or otherwise the output will be corrupted.: C9 b4 [4 k9 B! }
  260. ; http://php.net/zlib.output-compression" [1 @% O, }: q6 n% `/ x
  261. zlib.output_compression = Off( I* }8 O+ W% i% g: S: Q8 z) a
  262. 7 p$ K$ l! v3 ~5 b6 B2 p; M
  263. ; http://php.net/zlib.output-compression-level' y2 ~' i# r" V0 R8 A4 R
  264. ;zlib.output_compression_level = -1, U: ^1 L) Y- `  h1 I# r" V+ P
  265. 6 X- x( {2 d8 w& Y
  266. ; You cannot specify additional output handlers if zlib.output_compression
    : o  T( G* D/ \1 q# T
  267. ; is activated here. This setting does the same as output_handler but in) @5 M% S9 i/ X' J+ s
  268. ; a different order.& K1 S/ k. l8 O" h
  269. ; http://php.net/zlib.output-handler4 }' r, y# [2 j3 b
  270. ;zlib.output_handler =) O4 X) T; _; Y4 G, @3 S- n
  271. 8 o3 l/ x9 D. n: ]
  272. ; Implicit flush tells PHP to tell the output layer to flush itself: x( \+ u5 {4 I6 r4 t# o" q* k
  273. ; automatically after every output block.  This is equivalent to calling the
    * f/ U" `! H! y% X" T: M/ G! O
  274. ; PHP function flush() after each and every call to print() or echo() and each; Y6 q4 W" V; x8 t( l' z2 z
  275. ; and every HTML block.  Turning this option on has serious performance
    & p5 W' Q- r0 N9 r
  276. ; implications and is generally recommended for debugging purposes only.
      _6 Z" [' E& k6 E& J. y) C
  277. ; http://php.net/implicit-flush
    % W4 Z, d2 I- c5 e9 Z
  278. ; Note: This directive is hardcoded to On for the CLI SAPI& s* `4 S6 J* N. V1 a- s( K8 \
  279. implicit_flush = Off; W% t: D$ C4 w

  280. . L* y6 A( p" |' @9 g4 X& N0 p( B1 _
  281. ; The unserialize callback function will be called (with the undefined class'4 j7 f2 \/ Q5 X9 w
  282. ; name as parameter), if the unserializer finds an undefined class
    & M" f9 d2 J- D# D
  283. ; which should be instantiated. A warning appears if the specified function is% W# w# S- V& Q* L. v9 j
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ( p/ L& ?, |: Q1 N2 P3 E1 S8 b5 i
  285. ; So only set this entry, if you really want to implement such a
    : K2 A2 Y1 i6 V5 f7 d
  286. ; callback-function.
    2 x$ E3 D- y# v
  287. unserialize_callback_func =
    7 L, o7 V: s) G4 P# Y  U; d

  288. ! U6 m4 h' ]* S. K
  289. ; When floats & doubles are serialized store serialize_precision significant
    8 a1 ?8 H/ P, i5 d  v7 @$ j/ g
  290. ; digits after the floating point. The default value ensures that when floats, |1 d; D/ u1 n
  291. ; are decoded with unserialize, the data will remain the same.
    - }4 R1 y2 G8 ^0 M' a5 g
  292. serialize_precision = 17. @, B) Q* K. q) L4 _0 V9 C0 j( x
  293. 1 p# l. O* ]# X1 Q& ~
  294. ; open_basedir, if set, limits all file operations to the defined directory
    " X  v/ O6 A# E" {" q8 Z/ r
  295. ; and below.  This directive makes most sense if used in a per-directory
    ' l8 d8 b. i5 a: L
  296. ; or per-virtualhost web server configuration file.
    3 J  k7 p  p' @; b3 F$ g
  297. ; http://php.net/open-basedir: n4 x4 [/ Y# n# r1 U
  298. ;open_basedir =, M9 k# J0 R- G' c. |  ~/ O8 n. ^

  299. 0 ~8 C9 M' K1 ]( ^: O
  300. ; This directive allows you to disable certain functions for security reasons.) W/ W; `2 w& S" m  y- _
  301. ; It receives a comma-delimited list of function names.0 W1 [' }4 w  L2 ]7 A6 {
  302. ; http://php.net/disable-functions" O" G; V7 I7 v( l5 e) ?. g) @4 B
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! a) Y4 f1 Q) ~) `3 K) o/ Z" Y

  304. . u- q) O# }' `2 w& l8 Z( _8 d; m
  305. ; This directive allows you to disable certain classes for security reasons.: S. Q  ?3 }2 J
  306. ; It receives a comma-delimited list of class names.
    - {+ ]' L# u9 s, r2 i$ ?5 O  b
  307. ; http://php.net/disable-classes6 ]: b( Q# ^! [, J  o; ~, @2 i
  308. disable_classes =
    % `9 a+ A9 O4 ^: s9 j% Z" i
  309. 4 o" h$ k( @) J
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ( B: I+ ?, e3 g* {; m
  311. ; <span style="color: ???????"> would work.
    9 J' M$ y! L  n; l9 V
  312. ; http://php.net/syntax-highlighting' y! b& q7 ^, f$ W
  313. ;highlight.string  = #DD0000! {- _6 T+ b% T5 [1 f& B
  314. ;highlight.comment = #FF9900
    4 C% A( m0 O# D4 k. u& g4 k1 H; q
  315. ;highlight.keyword = #007700
    8 \4 Q/ e  v+ t) _! C! q0 Z" `
  316. ;highlight.default = #0000BB! L9 I1 b0 G2 R8 i5 F3 s% S1 v& T
  317. ;highlight.html    = #000000
    - ~8 p9 D, X* P: {/ X/ l
  318.   e% }# K/ |/ ]' v7 T6 I+ x  R1 ?5 q
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    9 b" H+ t* U% `) v* o1 B
  320. ; the request. Consider enabling it if executing long requests, which may end up$ F  z0 ~+ W$ z
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior2 V2 F" g2 g, g/ J0 X4 I
  322. ; is to disable this feature., t- Q5 [  t& ]' t* O  q6 i5 j" F" j
  323. ; http://php.net/ignore-user-abort
    ; T. ?6 _+ m3 T, E. v( a! I
  324. ;ignore_user_abort = On
    . A3 j! ]4 Y7 G1 q/ K1 Y2 J
  325. % c# T% u0 a4 S, K+ u2 [
  326. ; Determines the size of the realpath cache to be used by PHP. This value should. Y( `1 ~$ f: c5 o' m' [3 L
  327. ; be increased on systems where PHP opens many files to reflect the quantity of% e( `# U. D" b% _$ s+ o
  328. ; the file operations performed.
    7 n7 m, K5 V2 {1 u' Y- W( d
  329. ; http://php.net/realpath-cache-size6 J* A" _7 @# s* D0 |. V3 ?% L' L
  330. ;realpath_cache_size = 16k
    5 @8 V6 N' ^- ~, J, T) L! A0 H

  331. # z1 A. L/ V  y* r
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    8 F& m; a' Z6 a+ f) m; W: q+ }
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    6 m" H4 q2 H8 z  X' B
  334. ; value.5 r- a1 h2 |. M9 K8 D( E4 N+ `) W
  335. ; http://php.net/realpath-cache-ttl
    2 Q* Q, e+ T% E7 c8 B* Z- V
  336. ;realpath_cache_ttl = 120- r" t0 Y7 R2 c( `8 Q

  337. " j6 W& E0 c3 \; M/ Z: Q
  338. ; Enables or disables the circular reference collector.
    / \" J/ s( {$ R! }% E
  339. ; http://php.net/zend.enable-gc3 o* m3 [1 s9 i3 a% J3 g
  340. zend.enable_gc = On
    / m5 q" x5 s$ p: ]& x. U3 C$ w
  341. 1 }* Q1 \8 j1 n- A/ k
  342. ; If enabled, scripts may be written in encodings that are incompatible with5 }. H3 c* u/ w4 W+ j( b
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    % X9 S: B& E2 g
  344. ; encodings.  To use this feature, mbstring extension must be enabled.2 i; T  \# g3 w3 S+ d
  345. ; Default: Off8 T% _) Y5 M, C! v/ E
  346. ;zend.multibyte = Off
    # Z* \: Z7 u; j
  347.   [; K! \/ n0 g8 S4 S5 g
  348. ; Allows to set the default encoding for the scripts.  This value will be used8 a2 ]$ P3 T0 y. t6 h7 v6 y
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ! W' T. P! k3 f4 l7 e- R/ A
  350. ; Only affects if zend.multibyte is set.
    6 Q8 E% H/ \: I1 u9 _' [$ ?. |; k
  351. ; Default: ""& }, ^" z6 G3 ?7 A; q
  352. ;zend.script_encoding =5 u5 @! c1 n! B0 e0 c: C+ d) S

  353. & V9 k+ `* [4 D) t* N9 i
  354. ;;;;;;;;;;;;;;;;;
    & i: z9 z) a" \% f, A
  355. ; Miscellaneous ;
    * S, n+ f, m2 h2 M3 O
  356. ;;;;;;;;;;;;;;;;;
    2 v5 U4 g7 |1 }$ v4 e3 e
  357. 0 X- J4 o2 z- y( q6 ?+ Y) j
  358. ; Decides whether PHP may expose the fact that it is installed on the server* i$ J( O- E3 W( C8 E& l! r, |/ r/ i$ a- |
  359. ; (e.g. by adding its signature to the Web server header).  It is no security  r+ Z+ ]% u5 ?8 g# U: x% d0 B
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    6 Z8 V! W- f; p4 Z8 S2 z
  361. ; on your server or not.
    4 X7 d2 s) i6 k( f7 a
  362. ; http://php.net/expose-php# V2 c# \& ]% J( j1 O
  363. expose_php = On; F' Q: |$ A5 V1 P+ P9 l) i& P
  364. ! m7 i5 ?( C8 f2 K$ V
  365. ;;;;;;;;;;;;;;;;;;;
    : G. v. K% V5 O# N
  366. ; Resource Limits ;/ Y& D/ p+ c1 E2 K8 ^% f9 O2 y
  367. ;;;;;;;;;;;;;;;;;;;
    + ]" G' ~% ]6 Y. o
  368. ! D, W# g2 E5 {6 K- A: p
  369. ; Maximum execution time of each script, in seconds
    7 M; _, F: Z2 Y* \* N
  370. ; http://php.net/max-execution-time
    # D" Q" f1 Z* b0 O) B: a  Q# }
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI) z! a% X& l9 `' r
  372. max_execution_time = 300
    # s. K5 ?  ~& |- G/ A6 v0 j8 V; n

  373. ! a  X/ T8 N! E7 P" Z. t
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ; W" A/ w1 L) ~' N
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly" A; S! h+ I2 k/ r
  376. ; long running scripts.$ w7 |* p/ A2 D! A4 F3 `9 B  J
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    , X: `* g  r" X9 Q' V* v
  378. ; Default Value: -1 (Unlimited)7 I$ \& x" _# I6 u/ Y
  379. ; Development Value: 60 (60 seconds)
    9 f1 i7 \1 \! P
  380. ; Production Value: 60 (60 seconds)! D/ R8 c$ v* J- O0 f3 |8 j* {7 ^
  381. ; http://php.net/max-input-time
    , m9 ], Z) w2 x: e6 x: S
  382. max_input_time = 60
    & J! P2 T. u; O" I! r! y; B
  383. & j3 o/ a- L) P5 V! y( W( S
  384. ; Maximum input variable nesting level
    0 }8 S2 X) S% b+ |' O
  385. ; http://php.net/max-input-nesting-level7 m& f4 {  N( P* \: m$ v
  386. ;max_input_nesting_level = 64# h  N; w+ I  t- e
  387. 2 a$ Z& Z1 |3 _6 ]" [* V
  388. ; How many GET/POST/COOKIE input variables may be accepted( {$ c1 \/ h' h8 y. \
  389. ; max_input_vars = 1000
    ' I8 G) b& _7 S; {+ r& K

  390. ) Q- b% p8 k2 G; I$ U9 \
  391. ; Maximum amount of memory a script may consume (128MB)% d, s  p! S6 }, c& n
  392. ; http://php.net/memory-limit
    $ z  H/ c% k) u. X  E3 N. U( D. K
  393. memory_limit = 128M  T& b" b% b# I& Z6 N$ S, q, j

  394.   l0 e3 h5 T0 b0 F& `! I* }
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# W9 y8 e# D3 M- e3 t( i% F
  396. ; Error handling and logging ;
    # n) `: R6 d  C' D6 j
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: G* i* x' N, W' g
  398.   o. d# H9 ^) B  p8 s. ?  a
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    % C7 D$ h7 m( m! B
  400. ; it to take action for. The recommended way of setting values for this) M$ z% M7 M& q* K
  401. ; directive is through the use of the error level constants and bitwise
    1 _+ t& m- `( ?; ?
  402. ; operators. The error level constants are below here for convenience as well as5 [# j) K( `! l( o" T2 i5 D
  403. ; some common settings and their meanings., _3 Y/ m. T2 N) X
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    % J  A: s& `0 `' O5 ]" F
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    6 l3 {+ w& h; e; }
  406. ; recommended coding standards in PHP. For performance reasons, this is the2 K' C( p. z- [( q6 q& H
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ( l( g! m( [0 q9 _- h. g  s, l4 w, V! E
  408. ; resources complaining about best practices and coding standards. That's what
    : R% @9 ^% q6 B: g2 u# A0 k" O6 E' F
  409. ; development servers and development settings are for.
    9 {: G5 _. D2 u, Y( V+ G  w
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ( f) d& G. V0 U/ }  }5 Y
  411. ; means it pretty much reports everything which is exactly what you want during
    : \/ C* k7 ?7 n5 h8 n( q  t: w
  412. ; development and early testing.
    0 r) \( L+ e9 U: [
  413. ;, _% _) ?2 ^: D* b! z* W& m' T
  414. ; Error Level Constants:
    ( Z  v- e9 h- c( G  r
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ) l4 N" g, ^5 k2 L7 J1 B
  416. ; E_ERROR           - fatal run-time errors
    # m/ X; ]7 @# K: s* \6 H: q0 ?
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    & b5 i- n1 ~: e% c
  418. ; E_WARNING         - run-time warnings (non-fatal errors)0 i, ~& w4 f' _) L1 L  d2 @8 O
  419. ; E_PARSE           - compile-time parse errors
    # c( T' H4 a, q1 P% P4 v
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    1 B- ]3 ?9 N1 E7 _# Q  i
  421. ;                     from a bug in your code, but it's possible that it was0 @% ]% ]$ W1 l4 |% V
  422. ;                     intentional (e.g., using an uninitialized variable and
    , O/ I0 L9 N2 I0 M3 L$ a
  423. ;                     relying on the fact it is automatically initialized to an
    ( ^5 |. a6 I) I, `. c) R
  424. ;                     empty string)- t' ]; b$ l4 ~  G; v
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes+ d! i3 H& H( M8 e$ ~9 \  Y
  426. ;                     to your code which will ensure the best interoperability
    3 [( M; a% m/ H
  427. ;                     and forward compatibility of your code$ ?6 P4 X2 b2 l. P; Q, D  E
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup! t. D# F5 U* n& `6 v
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    & w' u$ ~" @: ?/ h" ?+ k
  430. ;                     initial startup
    8 o8 ?" r* }, z
  431. ; E_COMPILE_ERROR   - fatal compile-time errors& I$ s5 e9 ?( H( E2 Z) Y
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)4 A- i5 y3 n. B: V( N
  433. ; E_USER_ERROR      - user-generated error message. }8 q" R, w! Z' g
  434. ; E_USER_WARNING    - user-generated warning message( K# V: D3 h- q, x% C# D% \1 z
  435. ; E_USER_NOTICE     - user-generated notice message1 ]! p1 O) i" Z) e
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    3 d- G# G: Y/ C4 L" Y
  437. ;                     of PHP, n; s/ u" ~3 u2 ~- I7 z
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    + W+ N; K! E7 A; j7 t' v
  439. ;
    # _8 [3 h7 W# h" g% ?% p
  440. ; Common Values:+ ^, {% U* k/ B' W# I
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    7 _4 H" o1 X9 i* j" x- b6 k! P% t+ k
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
      O5 B% N/ R1 A# M
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    , A: [& f9 {$ I; V
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    " g& i: n8 Q% ^4 \
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  e& m0 V" P5 m9 ?* x7 h, E
  446. ; Development Value: E_ALL+ O+ p1 I5 d1 d" L( U& N9 B
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  c  N& J6 {+ N
  448. ; http://php.net/error-reporting
    ) R* q; @& u3 n5 u/ W" D2 p5 P
  449. error_reporting = E_ALL & ~E_NOTICE
    6 T" X* W' P4 V$ j) ~! i
  450. ' i; [* r1 D: }4 i0 ~. M9 A6 R2 s. _
  451. ; This directive controls whether or not and where PHP will output errors,
    ( J0 n  Q4 H% I3 h$ J  a
  452. ; notices and warnings too. Error output is very useful during development, but
    7 m3 e) e/ q4 S1 C& \
  453. ; it could be very dangerous in production environments. Depending on the code1 K# O$ H/ N! N. S- V
  454. ; which is triggering the error, sensitive information could potentially leak# B2 A% m$ K6 e- M( v  k
  455. ; out of your application such as database usernames and passwords or worse.# R! F, B. C0 f: U. m" s" `
  456. ; For production environments, we recommend logging errors rather than
    ( G8 a1 R6 B; u* t1 Y+ U
  457. ; sending them to STDOUT., W" B3 D- u4 x1 s
  458. ; Possible Values:
    ( d' E2 L% W, @
  459. ;   Off = Do not display any errors0 T! R! h9 _8 }1 U1 w8 l" t1 k: \
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)- p' E0 }( y0 u, K; T
  461. ;   On or stdout = Display errors to STDOUT6 e8 z* ?3 H3 g1 G- W
  462. ; Default Value: On
    # r1 F7 N$ k9 P. o
  463. ; Development Value: On
    + c- K/ y. q# B# o/ K8 _
  464. ; Production Value: Off
    8 o% P" c  R+ N8 r+ F7 N
  465. ; http://php.net/display-errors, S; \" L% D( w5 L, S6 P
  466. display_errors = On% z; w! k; _( o8 \+ U

  467. ( x1 q: b; O0 \7 ~* r1 x& e+ v7 F4 a' I
  468. ; The display of errors which occur during PHP's startup sequence are handled1 Q/ J, a. u5 j& e
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    4 E5 K$ D6 `6 A0 o6 ?$ v
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    % n! y  B8 M3 z' s: o; P, |) n
  471. ; debugging configuration problems. We strongly recommend you) r0 D! J' _5 @2 G" I# G
  472. ; set this to 'off' for production servers.6 I, J8 N: }1 L
  473. ; Default Value: Off7 S. C8 b1 t. k5 d
  474. ; Development Value: On
    2 I" d/ }8 _" |3 [' Q
  475. ; Production Value: Off' t! A2 F  M5 _" i
  476. ; http://php.net/display-startup-errors7 O) i! x# F+ {2 b8 K
  477. display_startup_errors = Off# O3 ]6 u6 j% B" }

  478. ! T; P: V& x/ C( o8 F3 v
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    % _1 c$ G, g# s; T7 }. m
  480. ; server-specific log, STDERR, or a location specified by the error_log
    - U6 T" ~8 p: K# m
  481. ; directive found below. While errors should not be displayed on productions" _& C3 j! Z+ ]7 ]% a
  482. ; servers they should still be monitored and logging is a great way to do that.
    # j' l4 E/ N. V) t0 _
  483. ; Default Value: Off
    * a2 N( s( W9 K1 P! ~$ I
  484. ; Development Value: On
    8 }" h  g( Q/ M7 ]# X) L- a8 p
  485. ; Production Value: On
    7 Z8 T! I: j/ L7 Z" z
  486. ; http://php.net/log-errors
    & g' X! e. ^# S  y9 a
  487. log_errors = On
      j2 s1 z! o; ~0 a9 W% J

  488. ( ~9 `- f8 x1 Y+ q1 K& G# X
  489. ; Set maximum length of log_errors. In error_log information about the source is- N; z( _: p$ {3 _1 u' t$ i+ M
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.' i. f5 ~! A! ?
  491. ; http://php.net/log-errors-max-len
    # E$ ?6 ?! O; b: H/ A
  492. log_errors_max_len = 1024) e6 L/ d4 d' I
  493. ! n$ r+ i. F' q
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    4 t" q) o* T+ U# n. Z
  495. ; line unless ignore_repeated_source is set true.3 K7 J/ v2 V7 E& i- ^
  496. ; http://php.net/ignore-repeated-errors* E$ v' N7 ]* w: l" \3 ?5 Q* z
  497. ignore_repeated_errors = Off
    8 I0 b8 d- O; ?2 B# @

  498. 4 A' L  w4 p( c. B, o- I0 E
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    , N+ ^' U% g$ ]) \1 r$ R
  500. ; is On you will not log errors with repeated messages from different files or9 _# ]1 G# i  E2 @5 |. x! ]
  501. ; source lines.
    " Q2 C- o. h+ ~$ E
  502. ; http://php.net/ignore-repeated-source  X  Q. y7 h% G4 R/ ~5 Y+ A) H# t
  503. ignore_repeated_source = Off
    0 M/ n) t* r& e( V/ h* n6 o

  504. % _: D9 ^) A) A5 s0 O
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    1 n# L2 k9 U7 {- R
  506. ; stdout or in the log). This has only effect in a debug compile, and if5 X' d0 [/ K  P0 c$ {: R
  507. ; error reporting includes E_WARNING in the allowed list6 Z9 [  U8 u: U7 F
  508. ; http://php.net/report-memleaks
    2 P; ^5 G  q1 v, @+ g
  509. report_memleaks = On
    " P1 Q' D* r; b) w! s

  510. 2 I2 d0 Q0 b6 R. i
  511. ; This setting is on by default.
    1 D, g+ ~4 z7 b5 W; z% o* J
  512. ;report_zend_debug = 0
    ( N+ M  G5 x& `: _# k6 q- L

  513. ' R2 G! \2 k) C( z. e8 ^
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value1 [+ @% f- [9 U0 ]
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ! G/ [$ T+ Q) j3 {
  516. ; however be disabled on production servers." s6 F" b" g  S5 R, t5 c
  517. ; Default Value: Off: ^( s5 n: U" J, `
  518. ; Development Value: On
    , k; V6 K# Z  s( d
  519. ; Production Value: Off
    2 q% I' S. e: s5 B; K
  520. ; http://php.net/track-errors
    # T4 h- Q, T  e0 q  @
  521. track_errors = Off
    2 T: H: b1 F1 W, P- l. l0 o

  522. 8 z* t* h9 W& A" C; C3 e6 C$ |0 g
  523. ; Turn off normal error reporting and emit XML-RPC error XML4 X! l$ ^1 l( H" A
  524. ; http://php.net/xmlrpc-errors
    / O: `  Q; u. N0 n3 o0 f, M$ H8 O
  525. ;xmlrpc_errors = 0- e5 T9 E1 S0 y4 u# g; Q
  526. 9 b2 \' K1 }+ f" w, |7 H
  527. ; An XML-RPC faultCode+ T, L$ V% e9 U  n: M
  528. ;xmlrpc_error_number = 0
    3 ^! C" a- _6 v" _) d

  529. ( H1 E$ _8 X7 _8 b
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - e" |7 z$ j% M, }
  531. ; error message as HTML for easier reading. This directive controls whether# `' }) N1 a1 B1 ]0 [1 K  {
  532. ; the error message is formatted as HTML or not.
    4 `; `; v0 k( B: \- h3 k; ?
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    % V9 s* m+ E8 j
  534. ; Default Value: On
    ( T$ n- `' c( U
  535. ; Development Value: On
    ; J* K7 C: @& [
  536. ; Production value: On: q( H0 Q" |- b& Z0 b
  537. ; http://php.net/html-errors! N) N# O4 a3 L! U8 O8 r" X
  538. html_errors = On4 ^0 Y6 {2 ]3 E' w- _- O. k7 H$ k
  539.   g- N$ N9 e% ~* L, D" q  K
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP1 S: F* x4 f$ M$ C) k
  541. ; produces clickable error messages that direct to a page describing the error
    4 l. u+ r; z9 r% A* ?, a
  542. ; or function causing the error in detail.
    : ]2 i: H0 I0 K" ?% h& T+ Z5 L  w
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    - C3 v, B2 V" ?- [1 g' v4 Z
  544. ; and change docref_root to the base URL of your local copy including the9 }/ ~4 T% F  {8 P5 U
  545. ; leading '/'. You must also specify the file extension being used including
    ) U; w1 I5 U2 X+ U! K1 C! d
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which) H1 h( Y: ?" X* B: t  R
  547. ; case no links to documentation are generated.
    : [7 }1 m* Q; k  l( [, h
  548. ; Note: Never use this feature for production boxes.
    / |' {% ^) h/ |" S4 C9 _
  549. ; http://php.net/docref-root
    ' }: b) h4 X% J; M) v
  550. ; Examples2 ]$ n8 J3 N# f
  551. ;docref_root = "/phpmanual/") x: l* S5 X- e* e1 A, P
  552. # Y. d( \8 H! |/ o( i
  553. ; http://php.net/docref-ext" {; s! h! r7 |% ~
  554. ;docref_ext = .html
    0 b4 S0 ^" L$ B" y- L4 ~1 R# _
  555. ; A5 @+ `3 t; M9 e; ^5 n; M/ z1 `
  556. ; String to output before an error message. PHP's default behavior is to leave
    - m  k. i( y/ U( l
  557. ; this setting blank.* Y: ~7 T. q6 E, [3 I( Y
  558. ; http://php.net/error-prepend-string6 D1 ?( A; T# Q3 d
  559. ; Example:$ m8 |) S6 z$ N, a! ~" I' U
  560. ;error_prepend_string = "<span style='color: #ff0000'>", i+ W/ j8 j7 U6 T- r0 d6 W4 d( K
  561. * @1 ^$ |* X0 Y/ K
  562. ; String to output after an error message. PHP's default behavior is to leave
    7 k1 Z- X4 R0 `- Y9 c4 i
  563. ; this setting blank.) |3 A$ p) t+ |: K* X; ?) G# w5 f
  564. ; http://php.net/error-append-string& ~' a( l7 r/ e- j' w/ ]7 }
  565. ; Example:) V: ~7 [1 x4 X# _8 b2 q6 o1 z
  566. ;error_append_string = "</span>") X" _' D3 [1 N

  567. 7 j3 B/ G0 f  E
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    ' I2 |0 ~9 Z+ k+ @: R
  569. ; empty.& [! a5 }# ?- [4 y2 `/ A
  570. ; http://php.net/error-log
    5 q* \. Y+ j' w# P
  571. ; Example:
    ' l0 c6 _  f! Y: @2 I
  572. ;error_log = php_errors.log
    + B" ]) _$ ]" d
  573. ; Log errors to syslog (Event Log on Windows).
      `- U, N3 |% c  T( n
  574. ;error_log = syslog
    ' n& \3 E( j5 o

  575. ! ^4 W2 }) \9 k9 m% i
  576. ;windows.show_crt_warning
    : g1 \0 [7 t. v! ^  ~8 A" H9 g1 s
  577. ; Default value: 0; S" M8 {7 j4 }% \4 n
  578. ; Development value: 0
    ' n# b! m# @: ^  i
  579. ; Production value: 0
    - D" i& {3 l* w+ B/ t2 B5 @; H( M" J

  580. 2 Q+ ~2 ^0 F* Q: E* X$ g
  581. ;;;;;;;;;;;;;;;;;, P& P$ F$ T; i! X6 t2 s7 r
  582. ; Data Handling ;
    2 F) l& o7 B" m, E: ^8 j
  583. ;;;;;;;;;;;;;;;;;
    , r; J1 n6 Z; m2 k5 A
  584. ( ~8 m7 L3 j" ~
  585. ; The separator used in PHP generated URLs to separate arguments.
    , A6 u- v) G$ X* j. Q" ?& j
  586. ; PHP's default setting is "&".
    4 h9 }# r! i/ k1 d4 ^
  587. ; http://php.net/arg-separator.output7 W' m/ O4 k/ o- O) L
  588. ; Example:
    9 ~( T1 {. y$ h( I  [  C7 u
  589. ;arg_separator.output = "&amp;"5 [" k0 x: l. w8 W
  590. 1 J2 V; M8 D1 H/ z5 U3 _
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    , o# I, I1 p  q% q5 O7 |
  592. ; PHP's default setting is "&".$ x' U" h2 ?; n) n4 \# w
  593. ; NOTE: Every character in this directive is considered as separator!0 v/ `' n' f: v* v6 s3 G
  594. ; http://php.net/arg-separator.input
    3 W: ?* {% S7 i: T- j/ d
  595. ; Example:5 |3 [! c5 M6 f, }( \. F, N! M7 l2 O
  596. ;arg_separator.input = ";&") o( M/ l) H) k8 k

  597. 6 M5 p3 ]& H1 r8 M  _% Y' E: N
  598. ; This directive determines which super global arrays are registered when PHP3 y3 Q  J' ^" g+ O4 o0 r8 }- d
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    8 t4 E9 X7 V: Z
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty' m' q) N5 H( M. l: \# p) Z
  601. ; paid for the registration of these arrays and because ENV is not as commonly2 g, y5 m5 Y: S' t- l; {
  602. ; used as the others, ENV is not recommended on productions servers. You
    4 G; H; e: V6 {& O  s: N2 N# A
  603. ; can still get access to the environment variables through getenv() should you
    % h& g$ ~8 }( i  F3 s7 ~
  604. ; need to.
    ( j  Z! Y; g7 [2 W9 S* u
  605. ; Default Value: "EGPCS"
    - b" q, i% t* S' E
  606. ; Development Value: "GPCS"
    $ E% m( y( g. v+ Z
  607. ; Production Value: "GPCS";0 @5 U! U9 @$ W+ `2 t
  608. ; http://php.net/variables-order
    6 T2 n/ x/ A1 N! e
  609. variables_order = "GPCS") n. \4 P  a; O$ Y# ?1 Z

  610. 8 ?2 I& t( C, s3 C& m$ z7 D
  611. ; This directive determines which super global data (G,P & C) should be  ~8 M+ b% M7 `
  612. ; registered into the super global array REQUEST. If so, it also determines
    ; X- ~4 [" G2 c% r
  613. ; the order in which that data is registered. The values for this directive
    % i8 R  g6 F8 ^( }7 |  E; j
  614. ; are specified in the same manner as the variables_order directive,
    ) W+ n2 s$ R3 n3 `) v
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) ?/ U2 R  Z" Q- s; x' w8 C# [
  616. ; in the variables_order directive. It does not mean it will leave the super
    0 y  v5 N% g4 x% ?
  617. ; globals array REQUEST empty.0 @4 b3 F* b  z0 r
  618. ; Default Value: None
    ! S8 s/ S  ]6 k0 a9 {- Z2 P
  619. ; Development Value: "GP"& i1 z! |7 ?5 o
  620. ; Production Value: "GP"
    / B3 m% e' C1 P
  621. ; http://php.net/request-order
    2 ^' B/ m% a+ [  Y3 i
  622. request_order = "GP"
    1 H! ]; T1 f8 H. W( M7 _

  623. ) [+ \8 E" @0 V" k
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    8 f: a; [" C1 H- h2 g4 x
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    4 A& N1 B7 j( ^% t5 o
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ) f) i  C7 \$ i9 h( Z3 V, M
  627. ; that were passed when the script was invoked. These arrays are extremely% b, [8 M8 q9 W, V. Z3 m) i, @  O
  628. ; useful when running scripts from the command line. When this directive is
    3 K) h! y# t+ Q; ~2 X
  629. ; enabled, registering these variables consumes CPU cycles and memory each time+ t% L- A8 Q* X* y3 l
  630. ; a script is executed. For performance reasons, this feature should be disabled0 k; y0 u: ^0 _' o, ]! ]9 t
  631. ; on production servers.
    * C. y/ E2 g0 V# B: G
  632. ; Note: This directive is hardcoded to On for the CLI SAPI3 z1 e7 e; S" p1 _$ ?* p3 Z
  633. ; Default Value: On+ s: }6 z, n2 F# a9 s
  634. ; Development Value: Off
    , ^5 C9 r/ C6 T& d* x
  635. ; Production Value: Off3 m6 V: W; [  a* }
  636. ; http://php.net/register-argc-argv
    ; D5 j! [/ e% o4 Z0 x
  637. register_argc_argv = Off
    . U& ]  G' v; v& X' ?
  638. . H; U# [& ^/ r+ k) `
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're4 a7 k& h) r& Z" s/ C. {
  640. ; first used (Just In Time) instead of when the script starts. If these
    7 [" K1 V) K& G2 f( u7 O
  641. ; variables are not used within a script, having this directive on will result- S  J9 q4 G5 Q  Z5 Y9 O7 G
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled( V) l: Z8 c1 H8 w. R- A/ C% |
  643. ; for this directive to have any affect.2 V* f$ _4 L6 s% U9 N- Z: N3 |7 e
  644. ; http://php.net/auto-globals-jit
    0 ^8 ]& v) O$ a3 B2 p+ ]
  645. auto_globals_jit = On
    / l* E# X. }5 o& n2 s$ p
  646. ( Z( \9 F; k1 @. @
  647. ; Whether PHP will read the POST data.* U; I( c3 y+ {) w
  648. ; This option is enabled by default.
    " }) a; \0 P6 y& y+ [- Q
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    - B: }, p6 W- G; _4 R- y$ ^9 U
  650. ; and $_FILES to always be empty; the only way you will be able to read the1 h6 @5 M+ a9 M
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ( t% n1 u( X7 {' z
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.& X9 h4 f+ c5 h
  653. ; http://php.net/enable-post-data-reading
    6 [- x- Y- a1 \+ D
  654. ;enable_post_data_reading = Off) N( ]* u  |/ H; ~+ x
  655. - k' V$ F& z8 I
  656. ; Maximum size of POST data that PHP will accept.
    & P0 g' ~6 O5 n% K3 k2 e
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    + w: d9 W5 j  Z# _; \0 z& W$ R
  658. ; is disabled through enable_post_data_reading.
    . @" S8 Z- Q5 y) s3 V% M0 q
  659. ; http://php.net/post-max-size. G% U0 J; ], g# g4 Z  @% o; U. y
  660. post_max_size = 50M# f5 r0 C5 ?1 `8 H! n
  661. 9 t9 |; ?% h' H" I& t0 b4 ~
  662. ; Automatically add files before PHP document.9 C8 o( A# G7 `1 J! b' t6 L4 p! d
  663. ; http://php.net/auto-prepend-file
    3 F5 y6 k# a* ~- {% @# n
  664. auto_prepend_file =) {6 O7 k/ }5 F  B) q6 M

  665. , j1 w4 K4 G# |* `/ V4 v
  666. ; Automatically add files after PHP document.8 |; K) p" z, g1 e- ~) p6 @7 U
  667. ; http://php.net/auto-append-file# W; _2 d" [8 T' e) L
  668. auto_append_file =
    9 d3 E8 \4 ~9 q, @& x; P0 w+ m

  669. % x( i( T' ?3 e. p" o: N
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ( n! s0 n5 C. @+ m
  671. ; disable this, simply set it to be empty.
    - T: q* e- F' r2 ?; L. _: s
  672. ;
    & c& g) w: ]8 Q
  673. ; PHP's built-in default media type is set to text/html.& W$ |5 V& a7 U% F
  674. ; http://php.net/default-mimetype
    : T/ n/ [2 a( Q1 T( c, [/ f
  675. default_mimetype = "text/html"
    * u: O7 A' L6 ~( Y: [

  676. + C7 n, g+ h5 v( \7 k
  677. ; PHP's default character set is set to UTF-8.
    # ^, }# e6 _) Y$ j7 N
  678. ; http://php.net/default-charset+ q7 P) [' O8 c% U9 V' \5 _( i
  679. default_charset = "UTF-8"
    ! N# a8 N7 m) n6 j

  680. ' k0 |& u4 \) ], z; K$ k6 Q! y: c
  681. ; PHP internal character encoding is set to empty.
    ! Y/ o* Z$ ]) h
  682. ; If empty, default_charset is used.
    $ a8 B# n' o( j4 y: f
  683. ; http://php.net/internal-encoding
    + U$ I% W% m. O
  684. ;internal_encoding =6 ?5 j) k; H" a. |/ q! N

  685. & n1 V- \% V+ W2 p. M
  686. ; PHP input character encoding is set to empty.
    * o" R% o9 F% D5 x% l& \. f
  687. ; If empty, default_charset is used.
    1 n0 [; L) _7 U6 ~  \" W
  688. ; http://php.net/input-encoding
    ) q* d$ y# b. F. i& @
  689. ;input_encoding =
    . g( v9 e! j' E5 h1 ^" h* f8 K6 J
  690. 9 g' y" T. x. y! b* N: s1 Z
  691. ; PHP output character encoding is set to empty.0 ?9 u3 ~! c( F2 O
  692. ; If empty, default_charset is used.% P" d# ]% U: W# x
  693. ; See also output_buffer.9 ^4 A# j6 R# b
  694. ; http://php.net/output-encoding  \5 E- V2 a8 e$ h' }' F0 x
  695. ;output_encoding =3 o! v& B( k" f4 }, K

  696. # c0 ?) p9 C6 q$ q
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is/ X; ~4 c8 b. ~9 y' A: a. P+ s( R$ r
  698. ; to disable this feature and it will be removed in a future version.7 r; a8 q: i4 s4 M: e6 d
  699. ; If post reading is disabled through enable_post_data_reading,, h5 u7 @  A' Z9 P
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.4 `* _+ y" O" b
  701. ; http://php.net/always-populate-raw-post-data: B; j. b& Z' j! G, G' O. N
  702. ;always_populate_raw_post_data = -10 l" w6 [, C9 X6 L7 e' h
  703.   M5 ~" b# e6 T, y+ {7 X
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;8 }# ^  `5 K* @( ?  ^, ]1 P7 G% d
  705. ; Paths and Directories ;7 x! M" i3 A. R& E/ S: {# f$ a$ k
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ! ]9 E- S' n8 n. O5 _* a

  707. # P3 U* b0 ]/ z; e9 {
  708. ; UNIX: "/path1:/path2"
    7 x4 ^2 }+ f5 a7 ~+ ~# G% E! y) o6 D) B
  709. ;include_path = ".:/php/includes"
    , [0 `0 m0 C) m8 X5 _( X
  710. ;
    * h2 X; ?" h& T
  711. ; Windows: "\path1;\path2"
    0 r3 x* W* Z4 ^! k9 l) M
  712. ;include_path = ".;c:\php\includes"
    6 r" Q1 y& ]! z. q7 y! a* `
  713. ;
    ( _6 e8 b3 z. [) H# K) Q
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ! ?2 k1 Y. k7 A+ S
  715. ; http://php.net/include-path0 ^0 l! Y6 }5 O6 ^

  716. 8 M) Z; Y5 I! Q& G/ \/ f8 F/ F. P
  717. ; The root of the PHP pages, used only if nonempty.
    % X, W  @3 M, p; I
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root% C1 q# T0 r9 H% T% ?+ F
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ; [. f1 X5 [4 [' r/ }3 ?3 d
  720. ; see documentation for security issues.  The alternate is to use the6 x. |9 o% y& I2 a! P) R/ R
  721. ; cgi.force_redirect configuration below  \' T4 H7 Q3 O1 ~8 S( x8 H
  722. ; http://php.net/doc-root
    / T2 p7 z& H- f( j  v: r: F, i# a
  723. doc_root =9 }- m0 X5 x9 g5 B+ J" J

  724. * k, `2 @% F/ s1 h6 H* R
  725. ; The directory under which PHP opens the script using /~username used only5 |' O- j$ k$ X' B4 `! _
  726. ; if nonempty.* a5 {- U" z1 x3 a
  727. ; http://php.net/user-dir
    0 j* i/ k3 q% j7 c
  728. user_dir =
    $ ~! U3 S, g' n
  729. & ~8 l8 t! K% Z9 U
  730. ; Directory in which the loadable extensions (modules) reside.
    0 x2 C+ c  F4 \. y* `
  731. ; http://php.net/extension-dir1 t2 b2 b8 i& @, T* d
  732. ; extension_dir = "./"
    ! u0 o: I8 ?. _6 \$ n3 }; {
  733. ; On windows:8 E5 V, [# n$ U1 l
  734. ; extension_dir = "ext"
    # y  U4 v* z! N( O& a1 V1 X

  735. ) x9 \, p) ~5 O7 f3 h, g* p0 w7 s( c! y
  736. ; Directory where the temporary files should be placed.5 _1 {. `5 p+ Y
  737. ; Defaults to the system default (see sys_get_temp_dir)7 Q$ F4 c5 l' V8 m- K! C, ]4 e- C) u
  738. ; sys_temp_dir = "/tmp"
    , }! x! T$ d5 z8 m
  739. 3 {8 W/ X! k+ C
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work9 M2 P) h) u1 f6 P  ~+ e# h
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically& t! l% Z' A4 \1 P/ B5 j
  742. ; disabled on them.& X5 }+ c  `0 y) x
  743. ; http://php.net/enable-dl! `: k( Y) b- C' _& ?! C
  744. enable_dl = Off
    0 A' S3 D( U( I. ?- @3 W, w
  745. ' y) [+ A5 i/ z0 _* V8 {
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under& ]) d% s' B6 i9 I2 r( a
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can% ]: A& A+ ?( v
  748. ; turn it off here AT YOUR OWN RISK
    1 x6 H, e9 t5 b- w
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    / t8 s' N7 B, z1 Z9 V2 l$ s. F6 P
  750. ; http://php.net/cgi.force-redirect/ ?: Q- l' `4 v/ r6 L
  751. ;cgi.force_redirect = 1
    ) k: }, u. X) I7 W5 v

  752. ; K3 h0 l: j! `9 }
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    9 }' n. u: J! Y# r. }8 g! l; P
  754. ; every request. PHP's default behavior is to disable this feature.
    1 r+ v7 i" A/ B' H3 ^2 x; n& A6 {
  755. ;cgi.nph = 11 w6 n6 [3 `0 X: }( d. M! R

  756. . J8 V& @( q: J
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape2 k8 [! `; U2 w/ k* a2 L
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ' e/ N: N; S' e3 k  D9 n. Q
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 A" Y" ]3 }& L
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 G  ~6 e. G7 y6 {  T. C
  761. ; http://php.net/cgi.redirect-status-env7 Y1 t0 i' C" V% m' h; N& N
  762. ;cgi.redirect_status_env =1 ~; `5 c2 o4 ~7 Y
  763. % ?. D6 I& i0 i" w/ i
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    0 S% o( g# E6 I8 [2 U3 ]
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    4 R* ?3 q9 Q3 X. ]
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    , v$ S0 P, Y5 d1 W( Y! L
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    0 L9 J* |% y# \) r
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts6 n3 L3 u3 U4 U
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    8 V) |: J+ S; h/ I; x0 v- U- o
  770. ; http://php.net/cgi.fix-pathinfo
    5 b) w6 B$ _0 |5 i) h9 f, ~  t
  771. cgi.fix_pathinfo=1
    3 f) j0 B2 X) f' ]

  772. / u7 \8 X. b/ g) k9 w3 b; V1 l( P
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    # S- u" Y2 ~9 M8 T( [
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    3 }; J5 X; k0 G6 e9 w
  775. ; http://php.net/cgi.dicard-path+ Z4 A8 n6 l! D
  776. ;cgi.discard_path=13 y0 Z1 q  r* Q
  777. , J. a7 \' E" l% w8 t3 O5 Q6 C0 T
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate" I. r% W/ O$ H; [: c7 M
  779. ; security tokens of the calling client.  This allows IIS to define the
    3 t8 U5 |4 ^& }' f  y$ Q) Q
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ! |( I2 O( j- o& D4 t& [
  781. ; does not currently support this feature (03/17/2002)
    7 E$ Z6 Q7 n* y* `, ^
  782. ; Set to 1 if running under IIS.  Default is zero.7 _4 J8 \: B+ D9 ~
  783. ; http://php.net/fastcgi.impersonate
    4 |7 b+ k" T1 d! ^7 K
  784. ;fastcgi.impersonate = 12 g1 }6 p" G& b* _
  785. 2 u& _  w/ r7 f' F, l9 N
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
      ~3 h1 t* w+ X/ v- `
  787. ; this feature.
    5 i. Z3 q- d7 W' o! Z
  788. ;fastcgi.logging = 0
    - s  P( v3 q0 u- l. w8 ]7 U) u
  789.   I7 T) N' x5 N6 ~
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% ]9 t6 A8 D4 f7 g) y
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that3 e, b0 l# H6 o# G  N# P! y) O
  792. ; is supported by Apache. When this option is set to 1, PHP will send. O" f  g- V/ L0 c6 ?
  793. ; RFC2616 compliant header.
    9 @9 }( K. H- |# x( T
  794. ; Default is zero.9 U) }$ `7 X. u: x' t
  795. ; http://php.net/cgi.rfc2616-headers
    # a0 `% s7 |+ A$ G3 x$ E4 E
  796. ;cgi.rfc2616_headers = 01 ]& p  m* S" H; d- E4 g

  797. 2 s( f" s. p) e9 f9 P- M0 [1 X
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    5 K2 C  D) ]4 J2 B) k8 {/ o$ W
  799. ; (shebang) at the top of the running script. This line might be needed if the
    3 K# U+ U. i& \7 Y
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI- X3 v7 r/ D, i% {: Y
  801. ; mode skips this line and ignores its content if this directive is turned on.8 O9 X0 W( U$ O* Z  U+ t' D) m
  802. ; http://php.net/cgi.check-shebang-line
    : S5 j& G& K3 D' E
  803. ;cgi.check_shebang_line=19 k2 b* ?6 Q* X, m

  804. 2 z6 b7 l4 }- q/ J6 F% Y9 t+ Z
  805. ;;;;;;;;;;;;;;;;
    4 }2 r7 R1 O2 r) G+ i4 O+ P
  806. ; File Uploads ;! R' O& q" k3 r7 b& S3 W* P& n6 b
  807. ;;;;;;;;;;;;;;;;% y3 b. {. ^8 S' p7 l# g
  808. 7 d5 o0 b' e( Z; R
  809. ; Whether to allow HTTP file uploads.# H; c' [& Z  E/ w
  810. ; http://php.net/file-uploads& Q6 J' g' C" W% Y) y
  811. file_uploads = On
    ) \# G4 E* r4 z! M! a: ^' s
  812. : y  R5 t3 X" d8 g( O8 a  r4 A! T" M
  813. ; Temporary directory for HTTP uploaded files (will use system default if not1 T- y! f4 O8 d- z6 c
  814. ; specified).
    % `2 _$ u+ E) d- @% m! I. \" F
  815. ; http://php.net/upload-tmp-dir5 M, u# V) I! o
  816. ;upload_tmp_dir =" _, K$ z& o* |, G
  817. % c( q. {: x6 f+ R" _" d
  818. ; Maximum allowed size for uploaded files.5 B; B2 q7 L" M9 w& Q# \9 G
  819. ; http://php.net/upload-max-filesize
    * h4 z; I3 c9 q0 p3 f
  820. upload_max_filesize = 50M
    & t9 U- c) j7 [8 B( E
  821. % X  D. ^/ i9 S- s. S
  822. ; Maximum number of files that can be uploaded via a single request
    7 {$ j+ L, T' K
  823. max_file_uploads = 205 h+ ~  k; W0 ~8 _6 O+ W

  824. ! q' r- |9 H: E2 R& o/ O
  825. ;;;;;;;;;;;;;;;;;;* l0 [  `; s" h% w. R7 Y
  826. ; Fopen wrappers ;
      ~: R, F) U: J2 h
  827. ;;;;;;;;;;;;;;;;;;
    7 i! O  a9 B  C) m5 @" c1 |4 m
  828. * j  m$ c5 a7 ?- g5 @' V
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.+ c! P+ {$ H, U' x, W
  830. ; http://php.net/allow-url-fopen
    , u- m5 d  r# }; ^& e
  831. allow_url_fopen = On8 O3 g, W) O) X( A
  832. 7 n8 ]1 P; Q: R
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.* G( a/ r; g1 p8 H) [) h
  834. ; http://php.net/allow-url-include0 o5 E& i% X; i, I
  835. allow_url_include = Off
    ; O; s0 F7 \7 ]& R# w! O: `4 z
  836. 3 {- W0 Z3 {2 z; j% ~1 d
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ! Y* Q3 W" {! |5 ]5 E
  838. ; for this is empty.+ k% x; M- s) V0 X# Y
  839. ; http://php.net/from0 b, x8 a/ e! w0 z( i
  840. ;from="john@doe.com"
    , c2 [/ b/ S0 |) S. c. L; u9 g; p
  841. 5 v7 e' _0 G, s4 N2 X) C
  842. ; Define the User-Agent string. PHP's default setting for this is empty.' r! ~; C5 `3 W! Y$ L! O! t
  843. ; http://php.net/user-agent' W+ G0 P+ ?6 @) t0 i8 F/ Q0 L' ?$ _
  844. ;user_agent="PHP"8 U4 r! @+ h# ]
  845. + h4 u2 c3 `7 i# U
  846. ; Default timeout for socket based streams (seconds)
    8 E8 K4 Y% s; s+ d5 W
  847. ; http://php.net/default-socket-timeout+ R- p2 S+ b. g. R' a; b
  848. default_socket_timeout = 60, s+ ~. r# T3 T2 X' O

  849.   W$ C4 A: n6 z/ ^% C: |. V2 [
  850. ; If your scripts have to deal with files from Macintosh systems,
    3 f$ p2 l$ o5 T, s( j. O- w+ C
  851. ; or you are running on a Mac and need to deal with files from: o+ Z! {+ y9 I* L( X. @( M
  852. ; unix or win32 systems, setting this flag will cause PHP to8 y$ P# k& `6 V3 s: O: ~
  853. ; automatically detect the EOL character in those files so that- c# b  z3 H0 D5 B2 P' A
  854. ; fgets() and file() will work regardless of the source of the file.
    6 W4 V7 h3 z+ A* B% M0 h+ s
  855. ; http://php.net/auto-detect-line-endings  Q4 O0 f. m7 V0 T0 k
  856. ;auto_detect_line_endings = Off
    5 [# Z. a- \1 c2 ^5 E2 u* T" k. P& X
  857. 5 h1 Y  Y3 |2 R+ X% Z
  858. ;;;;;;;;;;;;;;;;;;;;;;* \. i  @0 K- o# N
  859. ; Dynamic Extensions ;
    0 r3 t# F* i: f' i: s5 W5 T2 x
  860. ;;;;;;;;;;;;;;;;;;;;;;
    * @+ o' [* d0 e, X# Q% p

  861. , y% D& {' h0 P& o: ~
  862. ; If you wish to have an extension loaded automatically, use the following6 I8 I6 O: u, f
  863. ; syntax:
    " `& B: }. F; z, W
  864. ;9 }5 z& i% A2 }
  865. ;   extension=modulename.extension, U# s* {, F( C: _, \2 r3 R
  866. ;
    6 F, y% `+ p* t3 o/ G
  867. ; For example, on Windows:
    : u) S8 v5 J; {& K( U) @
  868. ;
      Y  y8 s: ]$ B5 j) J
  869. ;   extension=msql.dll; V; e* {2 U5 i1 X6 K  h6 |+ b
  870. ;
    4 I& U% I7 S5 t' K5 J
  871. ; ... or under UNIX:; D2 S2 p, M% e# K' Z9 W- Y4 ~
  872. ;
    6 e$ y8 W5 j5 h2 u5 q
  873. ;   extension=msql.so+ e3 k& J8 Y4 X2 ^7 v
  874. ;$ K$ y4 ]. `3 X5 p' L) o6 M' O( C& K
  875. ; ... or with a path:' S0 [1 f# m- o0 P6 U
  876. ;; k5 b4 ~6 }  e. @$ p) U  s( \, z: _
  877. ;   extension=/path/to/extension/msql.so8 x# C4 {9 [" D- |
  878. ;- P2 u% l4 V6 z  g+ W  N
  879. ; If you only provide the name of the extension, PHP will look for it in its5 \* J) _+ ^% A# G; [8 L
  880. ; default extension directory.+ N# R' b4 x& J$ `3 ], Z+ {+ i
  881. ;+ e1 b" H! {( c! A/ @
  882. ; Windows Extensions, _8 f! A7 z+ F. U0 s7 G
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    3 F5 x7 k3 `, V
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ) j8 z; ]# S2 S& E/ S& S" h
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    % E3 w2 W! F& G/ [9 m
  886. ; Be sure to appropriately set the extension_dir directive.! y+ B3 k& V9 y, d5 t' u5 J& q
  887. ;
    ' L3 x) M8 h+ Y9 u8 ]: P$ J
  888. ;extension=php_bz2.dll% ]5 ]6 k  {6 l  P* v) n7 L
  889. ;extension=php_curl.dll/ |2 o8 {* E$ h- q/ J4 k) e# A3 [
  890. ;extension=php_fileinfo.dll
    : }3 g* J9 g7 M( q$ ]" Q' T
  891. ;extension=php_gd2.dll
    7 O& w4 H: v" G) A7 y# V) B( Z- R
  892. ;extension=php_gettext.dll
    ' u# o6 a5 g! e
  893. ;extension=php_gmp.dll
    ( x( I% ?% z6 b+ E0 p
  894. ;extension=php_intl.dll, m0 C' x9 E8 V/ q' n
  895. ;extension=php_imap.dll( v8 e$ p; H3 I: y
  896. ;extension=php_interbase.dll
    & ]6 q/ [+ ^$ ?; {1 f% [
  897. ;extension=php_ldap.dll
      b; w; r" f4 I6 M9 N" V
  898. ;extension=php_mbstring.dll% u* c3 ^/ J* E
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    6 A4 d! O+ z" x7 `8 o: P( D' r
  900. ;extension=php_mysql.dll
    ; I7 t% }8 O  D5 y  Z
  901. ;extension=php_mysqli.dll
    & A6 K7 W7 |2 H4 m( B7 P$ B; r9 l
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client) ^; a: T# Y1 B/ I
  903. ;extension=php_openssl.dll( z; m% `: s' O6 @7 u* F
  904. ;extension=php_pdo_firebird.dll
    : t: x4 _, z" E0 A- q  r
  905. ;extension=php_pdo_mysql.dll3 q  j" S' b7 q( p- S" \% D3 Y
  906. ;extension=php_pdo_oci.dll2 j" ?6 t$ E4 m, u  T  W' g5 o
  907. ;extension=php_pdo_odbc.dll
    8 j9 {: Q( C3 A; A: c% _( G3 I8 d9 a4 u
  908. ;extension=php_pdo_pgsql.dll3 i0 P4 p' I7 z6 Q; o7 `
  909. ;extension=php_pdo_sqlite.dll
    6 b1 _+ V2 a1 W" |
  910. ;extension=php_pgsql.dll. `% Z3 f! S# p5 X
  911. ;extension=php_shmop.dll% u6 m' _6 D0 l& V
  912. & x) f# p! c% g" Q/ U- y
  913. ; The MIBS data available in the PHP distribution must be installed. # x4 k' o- }# e0 v
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    0 x& o: @4 O0 J7 v5 z' K$ \( b
  915. ;extension=php_snmp.dll$ b/ }& d. e9 v; v) C
  916. * @* f. Q) p- I7 C
  917. ;extension=php_soap.dll
    . f. [: T! J* Z8 E' J
  918. ;extension=php_sockets.dll! s5 b% u0 [. \' i
  919. ;extension=php_sqlite3.dll
    : X4 t0 r7 c- z+ Z
  920. ;extension=php_sybase_ct.dll$ n4 T& q. j+ V4 m1 i. V
  921. ;extension=php_tidy.dll
    0 Z5 M7 q: a+ C+ j. y
  922. ;extension=php_xmlrpc.dll
    , s  J; M- J5 ^! h3 b1 P
  923. ;extension=php_xsl.dll1 V, R4 A- V  M; b
  924. % s1 J; A4 G* ?/ o% J
  925. ;;;;;;;;;;;;;;;;;;;% h( \) ]3 {3 m% [" T5 }7 [& @
  926. ; Module Settings ;
    % Q% q3 E" Z( d8 s7 [' x6 p  H3 Z
  927. ;;;;;;;;;;;;;;;;;;;
    6 T: f& T, j6 r% a  Q
  928. ! V, n9 @/ \6 |: W& Y
  929. [CLI Server]9 o6 z, _: b' A& t
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    0 C8 C1 x1 R) {7 r* S& S
  931. cli_server.color = On, ^# l: ^" E: F. ]7 o& d

  932. + q! _: ]8 l3 U4 L" {
  933. [Date]
    0 J) C6 M( J4 c7 T8 u' T% S
  934. ; Defines the default timezone used by the date functions6 q9 `8 k8 j5 c' Y
  935. ; http://php.net/date.timezone
    4 F8 h) ~$ l8 H
  936. date.timezone = PRC2 I, j# R" N6 D- }
  937. / t( E0 ]% L2 U$ n
  938. ; http://php.net/date.default-latitude# |& Z! ]" I) b* B) k
  939. ;date.default_latitude = 31.76679 j5 {& O/ B2 `# k. [6 B6 t

  940. # c- l1 O* k+ X; F
  941. ; http://php.net/date.default-longitude
    ( H$ y; F1 x. n+ D# h+ I% V$ P, ~" C
  942. ;date.default_longitude = 35.2333
    * ]9 d' {9 Q: T2 n

  943. ( ^" x0 W* ]8 Z! I; K* ~
  944. ; http://php.net/date.sunrise-zenith% R- p6 ?4 d' N: ^8 G+ V
  945. ;date.sunrise_zenith = 90.583333# H6 M' k( X: A- X

  946. . D( M! @8 s9 i$ g6 J6 A
  947. ; http://php.net/date.sunset-zenith! k( L- {9 p4 h
  948. ;date.sunset_zenith = 90.5833331 s# U* K/ j: j1 l4 C: G

  949. " R# p; P3 m7 h+ g4 {
  950. [filter]  a2 o2 J* c( T# T3 _& D
  951. ; http://php.net/filter.default8 Q% L9 k9 @" m/ ~1 t4 k0 L
  952. ;filter.default = unsafe_raw, X6 N/ H8 Q* u( [9 [

  953. 4 \# o+ t: Q( v3 O5 _
  954. ; http://php.net/filter.default-flags
    - i8 q' c0 I  X  u8 r+ ~/ r
  955. ;filter.default_flags =6 N1 c! C7 A6 O' C9 f: Q# h
  956. 6 v+ m( `, }" v* t5 G
  957. [iconv]
    + d' b! `; Z' w9 Q
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 h5 k3 v* U$ u4 `
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.7 X* c% C: p9 e0 S& B
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    / ]& i- `, c$ Y+ o  p5 s
  961. ;iconv.input_encoding =& @/ L* {8 O2 s, E, y+ k  b
  962. . G! G7 A0 L9 O, I
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.  ^0 @$ x; }% H! m/ n& c
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. N! J3 v6 y+ X. e" K1 P6 I' c+ Q$ }
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 x$ o/ Y6 G+ Y/ k! Y( j3 h
  966. ;iconv.internal_encoding =1 G. X( d# S5 y) J  a0 U

  967. ! }% |) i4 `9 }" `# z# b5 L; U
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.: ?% S3 f- v3 K% Y8 F) O
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ! e' R9 H( D. C* G7 q6 {) _
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 X& O6 `* y1 b
  971. ; To use an output encoding conversion, iconv's output handler must be set
    " z7 L4 }( `. F9 q% w5 x, o
  972. ; otherwise output encoding conversion cannot be performed.
    7 O3 p1 g# [6 F8 s2 B
  973. ;iconv.output_encoding =% }" p; z4 _# N2 ?+ Q+ d$ [/ n

  974.   g* N+ D' f4 L; c
  975. [intl]6 ~$ t4 A9 M* k
  976. ;intl.default_locale =
    ) z% p2 j  Q- b! F6 w8 p
  977. ; This directive allows you to produce PHP errors when some error5 c( r  J% C8 T! r" `7 P8 V
  978. ; happens within intl functions. The value is the level of the error produced.
    * A, i% p; g2 }. u0 O5 y) w
  979. ; Default is 0, which does not produce any errors.
    / v, P& h1 I0 p& l" x( p
  980. ;intl.error_level = E_WARNING' {& K9 l, Z1 U, q0 `) S
  981. ;intl.use_exceptions = 0
    8 A0 t5 `. H4 u, I. R$ Q6 Q1 ]

  982. " M5 X$ v( g8 z2 t3 V% f2 t
  983. [sqlite3]! l) d3 K) ?0 j/ X. X0 f
  984. ;sqlite3.extension_dir =) w( y( g# D; ^9 t0 a! J3 j$ f

  985. 5 V, n6 |6 t' ~
  986. [Pcre]
    : w4 j/ D# p0 W3 h6 o/ q8 O% d8 h
  987. ;PCRE library backtracking limit.- P* O/ s$ B  ]
  988. ; http://php.net/pcre.backtrack-limit! l% Q' `, G, k' Y, ?
  989. ;pcre.backtrack_limit=100000$ \1 a  b) f/ T: Q
  990. 8 \1 I9 E  P2 O$ @% N, w# u7 Q6 {
  991. ;PCRE library recursion limit.6 M4 K& i. P9 n: ?/ A% ~1 I3 T0 v7 t
  992. ;Please note that if you set this value to a high number you may consume all
    . b9 e3 s- Q/ }- T
  993. ;the available process stack and eventually crash PHP (due to reaching the4 P; u0 q  C( n5 u5 M
  994. ;stack size limit imposed by the Operating System).# }6 |/ ]' w& h' A. u
  995. ; http://php.net/pcre.recursion-limit
    5 ^$ k* t- k" @0 {4 Z+ u
  996. ;pcre.recursion_limit=100000
    # e' J$ L: K0 G2 q0 A6 y+ u
  997. * k# v/ F+ a  Y$ v/ T
  998. [Pdo]& C9 S& o9 Z+ d$ U: B" e* y6 M
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"# y8 U8 b' C6 `1 a% y9 u/ y: q3 [
  1000. ; http://php.net/pdo-odbc.connection-pooling
    % @7 ?. V. c) m3 a/ }
  1001. ;pdo_odbc.connection_pooling=strict& ]! ?- n) n2 X. f% @: ?

  1002. " @. H7 g/ ]3 o- R) [% ~) Q
  1003. ;pdo_odbc.db2_instance_name
    3 B3 H' y. b; Z! F. }# A" N& ]

  1004. / X6 N2 H$ {' m6 P
  1005. [Pdo_mysql]7 S7 m  Z1 g4 ]3 D
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache) w( i6 w8 a; m# p! k
  1007. ; http://php.net/pdo_mysql.cache_size
    7 [. B6 T& w& j
  1008. pdo_mysql.cache_size = 2000
    3 _7 [# H' @% p0 {9 }

  1009. : d) J% s9 b/ I
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in- x/ Q2 P, g8 ]
  1011. ; MySQL defaults.- |& @; Z5 b8 l; H+ `+ S
  1012. ; http://php.net/pdo_mysql.default-socket0 q4 f2 o3 M6 O; `
  1013. pdo_mysql.default_socket=
    7 Y7 M9 c( u) j( @
  1014. & c2 Y: B5 |1 ~8 L& E+ `- B( H4 [! E
  1015. [Phar]; `  Q) w" |/ T; y& B5 E; u
  1016. ; http://php.net/phar.readonly' C8 X3 J% U8 D& w2 E5 ?3 `
  1017. ;phar.readonly = On  Y) w" ^* W' }+ @% T% i
  1018. 3 F6 `# o# @& f7 H" {" i+ \
  1019. ; http://php.net/phar.require-hash3 p" a5 h4 o& G2 D5 ^% X: J
  1020. ;phar.require_hash = On' I% L" g) n+ X) _
  1021. 9 j, k( O; b4 L  f2 X
  1022. ;phar.cache_list =& A8 h& r; g1 t  y! y+ S9 q

  1023. + A2 {# d! d$ O, N0 m
  1024. [mail function]
    ; H& k  [* R1 D
  1025. ; For Win32 only.$ b8 ?2 k/ J7 ^) ^& c9 n
  1026. ; http://php.net/smtp
    7 r0 V$ p7 w6 h! N9 S% t- U' Z
  1027. SMTP = localhost
    ; M4 x2 r  h% s6 |7 X& p
  1028. ; http://php.net/smtp-port* G# j5 z5 O7 u! Q
  1029. smtp_port = 25# Q: ~3 W% q- f3 A+ Q* O3 D. @  R
  1030. 4 |# i2 ^% A' W5 y4 J
  1031. ; For Win32 only.# F0 ~, I, N% u& Q
  1032. ; http://php.net/sendmail-from4 R+ A3 V! F. g& C7 t1 D& u, t
  1033. ;sendmail_from = me@example.com
      V+ h# |' @" |
  1034. 7 r& F5 O; |0 d/ h
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ( {! z5 P7 K9 F  q5 q4 C" Q
  1036. ; http://php.net/sendmail-path
    - h( y0 ]: |2 Z* q
  1037. sendmail_path = /usr/sbin/sendmail -t -i- N; B2 l7 k- z9 E
  1038. 8 a( Q* S4 s% B  J9 r
  1039. ; Force the addition of the specified parameters to be passed as extra parameters' m3 Q$ X( R4 y5 B  q, k
  1040. ; to the sendmail binary. These parameters will always replace the value of1 Y! j8 o  j6 G! r3 j' |6 V
  1041. ; the 5th parameter to mail().( H; B6 P- R6 Y2 b
  1042. ;mail.force_extra_parameters =: |2 A& v" d# `* j; y$ y; Z9 c
  1043. 2 j/ H  d! g* ^# L
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename5 g2 X% ~& F; S2 q9 e. T$ Q
  1045. mail.add_x_header = On
    * j  w0 W% X7 I

  1046. 8 h7 h5 U* S1 v+ P( U
  1047. ; The path to a log file that will log all mail() calls. Log entries include! b% v& @9 [2 g$ [' j
  1048. ; the full path of the script, line number, To address and headers.
    4 G' `9 B2 c6 ^( l" ]2 c
  1049. ;mail.log =
    & P$ f4 Z8 p+ h: `- ]4 _
  1050. ; Log mail to syslog (Event Log on Windows).1 k& j! d9 y) r& r; I. P- D9 a
  1051. ;mail.log = syslog0 q% X% V, i" q' l
  1052. 9 e( x; O; @9 g
  1053. [SQL]) O6 U0 s9 U2 x/ _" I
  1054. ; http://php.net/sql.safe-mode2 y- j4 l" h# t( J3 B
  1055. sql.safe_mode = Off
    2 N7 i% ^2 m7 ]  ]; Q& q4 f( s7 p
  1056. 1 T3 ^  Z5 a3 ~) g& k; [3 e4 R) \
  1057. [ODBC]
    & ^) T0 l; c/ u/ t! Q
  1058. ; http://php.net/odbc.default-db
    4 V  @( J, G3 q/ g& ^9 V
  1059. ;odbc.default_db    =  Not yet implemented
    4 [/ W) V! J6 X- t; z
  1060. 1 h' ?  o. k7 P1 w
  1061. ; http://php.net/odbc.default-user
    $ A/ a$ S; f* e8 j9 K/ h
  1062. ;odbc.default_user  =  Not yet implemented1 ^1 q8 _. w0 |9 b: K. ^- d- ~

  1063. % Q7 f& l% A+ Q' r
  1064. ; http://php.net/odbc.default-pw2 Z6 M+ t7 s/ b' J
  1065. ;odbc.default_pw    =  Not yet implemented
    3 C) c- h5 x" E: j5 |. s
  1066. % I/ B% l/ V+ e
  1067. ; Controls the ODBC cursor model.
    0 C* \0 E) D( b7 M
  1068. ; Default: SQL_CURSOR_STATIC (default).9 v' Y0 N% b  `" e& d# V: }  a; ^
  1069. ;odbc.default_cursortype: E0 e: f7 M9 P6 ]
  1070. + i. `+ ~4 _. P: r: w
  1071. ; Allow or prevent persistent links.* R5 c0 v, u4 K
  1072. ; http://php.net/odbc.allow-persistent
    " x9 ~  Z4 K& t6 b9 Z
  1073. odbc.allow_persistent = On
    ' ]) L; q6 y6 L7 B# a' C
  1074. 7 {: W* a+ ]% Z) G/ B; Q
  1075. ; Check that a connection is still valid before reuse.) u0 s0 N3 _/ E
  1076. ; http://php.net/odbc.check-persistent
    # n1 H* C0 i2 j
  1077. odbc.check_persistent = On
    & y: ~0 ^. L& P/ N9 E
  1078. 1 R# R% Z7 h7 G% g  W# O
  1079. ; Maximum number of persistent links.  -1 means no limit.
    % i% {0 E( J5 t. M
  1080. ; http://php.net/odbc.max-persistent
    6 ~$ z  V3 K7 C7 [- I
  1081. odbc.max_persistent = -1; N. D1 U9 z/ N* \0 Q+ \

  1082. # j: K7 Y2 ?6 a1 R/ G# h
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 Z, n$ I$ E1 |  t( w
  1084. ; http://php.net/odbc.max-links
    6 f9 X0 Z  ?1 H, u
  1085. odbc.max_links = -1- Z; `: p( H, C

  1086. $ d: T7 g  b6 }/ K% Q( X4 c% q
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    7 m5 \, x- a% N( X( [6 W
  1088. ; passthru." {0 e- G: x9 v3 w$ v5 l, w9 a; a* _
  1089. ; http://php.net/odbc.defaultlrl
    9 p8 [6 a  Z" G1 Q1 S
  1090. odbc.defaultlrl = 4096
    " K9 j$ d3 j* B+ Y
  1091. : ?( }8 n; e3 B
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.: `! f, V. x) E
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    & L$ d$ g* W' d7 X
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode5 e# B% g( j# w! ^0 I5 x8 h* W
  1095. ; http://php.net/odbc.defaultbinmode
    9 q  J5 q" T1 a7 j1 V
  1096. odbc.defaultbinmode = 1
    * ~( ~5 a( j, ~  Z5 t- h3 K

  1097. 2 v* n: e6 G0 L
  1098. ;birdstep.max_links = -1
    0 m* e! H7 I* Z9 C6 ^

  1099. % o' Z! h& P' I+ W! F7 W0 [3 q
  1100. [Interbase]
    9 B& b/ O9 w7 M7 v1 z' s
  1101. ; Allow or prevent persistent links.0 n; i! k3 f5 M: h; A0 O
  1102. ibase.allow_persistent = 1
    7 ^, s6 I0 c. a
  1103. & }9 h; ]9 ?. D' Y- R% U4 M% H
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ) R5 r' v( i/ a8 A4 `* K, F
  1105. ibase.max_persistent = -1
    2 I7 S# p& R' R# n6 N

  1106. 4 Z# m( z, e8 X9 D! h5 m
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % v" ^8 _$ Z5 N- m' c' g" V
  1108. ibase.max_links = -1$ w+ h  }1 w$ a- |) L* P

  1109. 5 ~8 K# ~# q9 H9 ?  L8 h( W$ R' w0 p
  1110. ; Default database name for ibase_connect()., C7 c8 j$ v( B$ a
  1111. ;ibase.default_db =
    % U  M2 R4 B7 H. F
  1112.   ?5 {3 c4 \$ Z( e" `. Q. p2 V
  1113. ; Default username for ibase_connect().5 p$ J. D8 j2 a3 ~' W) ?( A" k# J
  1114. ;ibase.default_user =0 u- n7 P5 V$ w  O5 |
  1115. 9 _& j2 ^6 T" A6 r/ n! i7 |6 W. b
  1116. ; Default password for ibase_connect().4 t  g; _, ?+ j* m
  1117. ;ibase.default_password =" R. O' O0 o) @. J
  1118. 8 O1 i+ [8 v$ `% W3 G: X; R6 J
  1119. ; Default charset for ibase_connect().' V3 i- f3 ]3 o9 {2 V6 i
  1120. ;ibase.default_charset =: ^5 d; k+ |) K% Q% Z6 @/ n
  1121. 8 u% N$ ~8 \& t3 u( a% [- j9 P) j, ^
  1122. ; Default timestamp format.
    9 @! w" w; g" T6 X
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , O* D1 \  Y2 i6 ^0 s

  1124. - H: M  R) \/ l; \5 N
  1125. ; Default date format.
    $ D$ V! V) G3 }% `. \" y) {
  1126. ibase.dateformat = "%Y-%m-%d"
    7 r0 z, O# v2 O) ~/ w9 L+ y* s

  1127. - y( q$ A4 @' a$ Q' t
  1128. ; Default time format.
    8 N: t) @: l5 O( |& g" |
  1129. ibase.timeformat = "%H:%M:%S"2 o" x  C3 l5 s% v: k9 b& k

  1130.   z9 f/ ^! Q7 s
  1131. [MySQL]
    4 S4 Q5 V! M1 H
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements7 w1 @2 Z# d& O* X0 D2 r
  1133. ; http://php.net/mysql.allow_local_infile
    4 h; [* U2 p9 Q) _/ M' e' [
  1134. mysql.allow_local_infile = On
    3 Y  F8 X2 W7 I& Z+ ]3 a& f
  1135. ; r) `, u# R% M) [; H5 T% [' G+ U: u
  1136. ; Allow or prevent persistent links.
    " d* |* C( i" V2 \: B2 `
  1137. ; http://php.net/mysql.allow-persistent5 G9 o! ^: L- h2 b0 }* y
  1138. mysql.allow_persistent = On4 i( A0 }" k. B8 G3 S
  1139. * e* m$ i" X; O) t5 g4 L
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 |5 q6 Y8 o3 ~$ V- k
  1141. ; http://php.net/mysql.cache_size. T8 X, F. \$ Z8 }0 I3 }
  1142. mysql.cache_size = 2000
    2 u) x3 ?- N4 r2 z$ \$ f  w
  1143. * h6 ]* s; B: A6 g& A( D
  1144. ; Maximum number of persistent links.  -1 means no limit.
    $ d, I( P* M' i" ]" O# g& I
  1145. ; http://php.net/mysql.max-persistent
    $ [2 N0 |0 y7 _. [4 m0 w! |
  1146. mysql.max_persistent = -1
    % \: E0 [9 K3 [  W

  1147. 0 L  Y6 s0 y8 ~- p4 \
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # I4 F( ~0 g$ R$ B
  1149. ; http://php.net/mysql.max-links1 _/ J9 R5 f+ r: {# ~5 y3 J
  1150. mysql.max_links = -13 ]2 L( O) R# J& o
  1151. 5 a! m$ h  [4 ?: p" Z
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use' m6 a9 e; k) h7 H0 \7 ~5 L. |
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ R! r! e. I( {+ w
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    7 v' q! L- F+ `. y5 J7 x+ U! M" E
  1155. ; at MYSQL_PORT.
    ! |) N1 a. \4 k. [5 o7 j
  1156. ; http://php.net/mysql.default-port
    ; S3 P* E* a) \4 N4 C
  1157. mysql.default_port =
    - \% S# c/ c+ J5 ]9 d) K2 _
  1158. 9 G% L; T0 Q6 X5 E
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 j! L% p3 J) x
  1160. ; MySQL defaults.
    - O9 P( B' h( \$ i* l. l0 Y3 ?
  1161. ; http://php.net/mysql.default-socket2 u4 U0 f" M2 I* x; P; I
  1162. mysql.default_socket =
    ( m" V8 j: q5 E. p( \/ P  O5 d
  1163. - {  F4 o' x6 `# g* Y
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    9 L" j- b: K: ~+ H/ A1 C1 V. F
  1165. ; http://php.net/mysql.default-host
    ! B. X% W- s$ O8 J# I6 R( G% L
  1166. mysql.default_host =2 q- ]6 k0 \" a0 u! T4 x" ~
  1167. $ D- n+ M, w0 p$ G
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).3 i: Y( w" P, w* z
  1169. ; http://php.net/mysql.default-user0 |. ^: F# z) N) W( r; {# r* q/ Q
  1170. mysql.default_user =% h; [6 G: R3 [6 P* S
  1171. * t7 _' v' X9 K  j+ \6 @  Y1 B2 |
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).  x2 x9 ^7 D7 `, B% ~0 H
  1173. ; Note that this is generally a *bad* idea to store passwords in this file., G* M8 k( O& @1 d
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password"), e' ^3 ~& V3 ~1 K5 y% \
  1175. ; and reveal this password!  And of course, any users with read access to this
    ( R* k6 N+ i" t: _; _
  1176. ; file will be able to reveal the password as well.: }) _# C; Y3 `) i0 c! d" o' J
  1177. ; http://php.net/mysql.default-password& @: W5 `1 b6 [5 n; C* n3 j
  1178. mysql.default_password =; c1 [# B  j; ?% D
  1179. - p' A% [0 I( e/ Q7 A4 Q! X( U# [
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    # {& `" ~8 n7 `
  1181. ; http://php.net/mysql.connect-timeout1 W" v6 a/ j% g# h0 Y
  1182. mysql.connect_timeout = 60: ~" Z5 N% @& Y- A( C' A4 K
  1183. * V. i$ k; z% I- [8 w
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and% Y7 a1 C7 `+ H! K" |5 A( E' {- q: B
  1185. ; SQL-Errors will be displayed.& [# M+ }$ Z8 V  q' _
  1186. ; http://php.net/mysql.trace-mode
    7 i0 w8 }' o' X" \+ P& D% G7 K
  1187. mysql.trace_mode = Off, C3 D( R  H& Q% b8 c/ f, V: c

  1188. , h) y# B8 V' z2 b9 D
  1189. [MySQLi]1 \* k& W% m: m

  1190. ' ~7 T$ a1 s  W* h7 S+ p% ?. f9 ?
  1191. ; Maximum number of persistent links.  -1 means no limit.
    % j8 K  M; m2 g0 w4 I' U
  1192. ; http://php.net/mysqli.max-persistent
    : J* ~( a6 }4 V3 A) ]+ s
  1193. mysqli.max_persistent = -1
    - s* t. O: c8 g2 W
  1194. 8 F0 g# [+ l0 ?8 y; V* g9 r( \+ b
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - ~; T5 Y6 c% m9 i0 g- V" w2 [
  1196. ; http://php.net/mysqli.allow_local_infile' H+ s; Y; }' Z5 _$ \
  1197. ;mysqli.allow_local_infile = On
    7 H8 M3 U' u9 C/ t/ D! ^: y" o5 _/ [
  1198. 5 K( C" U& f+ E% E. Q
  1199. ; Allow or prevent persistent links.
    , R$ _! W9 x) L+ k$ Q
  1200. ; http://php.net/mysqli.allow-persistent
    6 ]& G2 L' |  ^' R
  1201. mysqli.allow_persistent = On
    1 g+ j2 Z5 [6 d0 k& X" h( R  }
  1202. : d) ?; J( _+ T) v+ h/ m- _' p1 X
  1203. ; Maximum number of links.  -1 means no limit.
    5 K4 F+ i' n" C: ~! L& A
  1204. ; http://php.net/mysqli.max-links
    4 N. ?7 R* G1 H; n$ y2 v
  1205. mysqli.max_links = -1
    ) j' U: E  D3 S! l
  1206. ! s' C$ s2 k6 Q9 B
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / s" C! H+ V& y  B9 N
  1208. ; http://php.net/mysqli.cache_size1 X, a. g- O1 k% [8 i
  1209. mysqli.cache_size = 2000
    : i( D9 j8 f" Q$ t

  1210. : `7 a2 T4 y7 E9 d2 j1 w* g
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    3 L1 M' J* M3 t* q. d( @1 M. g
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ; C! E% _/ n+ Y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    " i* z! w$ j. x8 |- F- ]+ o
  1214. ; at MYSQL_PORT.
    - b% \0 i& B1 E
  1215. ; http://php.net/mysqli.default-port
    : F! i. _, @7 t' N
  1216. mysqli.default_port = 3306$ d) E. c# T( a# ~, b+ b8 k
  1217. . U  ^8 H6 K/ Y; P2 D: D
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in' x( ?. Y  o; p2 f) a; @9 L
  1219. ; MySQL defaults.
    . X# M% {0 Z- ^0 ^
  1220. ; http://php.net/mysqli.default-socket/ ^4 i/ v9 j: D
  1221. mysqli.default_socket =
    . U9 I$ \6 E+ B7 }+ J" v

  1222. , z: t9 l7 ]) m9 X9 z+ h
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 ]/ I8 S! h$ J2 m# r/ x
  1224. ; http://php.net/mysqli.default-host
    8 A& I0 B+ P" h
  1225. mysqli.default_host =2 `) k! H5 u. m$ i$ Y1 ]+ @

  1226. & O( N, F, c# i3 N& s- {3 c
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    , o6 q# y/ K. W  f/ Q9 I
  1228. ; http://php.net/mysqli.default-user
    # N; M/ o9 W  ?9 k, U
  1229. mysqli.default_user =& f: n3 E  m1 g% |) H
  1230. 0 B$ G% M; K5 S* r& t. n- P# _
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).* w; e6 w5 \  R" `( g
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    8 [$ r! I# w: T% T6 q
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    # @1 N, M6 B4 z" h4 d. D% H  T; @3 h
  1234. ; and reveal this password!  And of course, any users with read access to this
    ) J' B7 G4 f! ^# M
  1235. ; file will be able to reveal the password as well.+ H5 k) W! m' f, w' Y. _; y. i
  1236. ; http://php.net/mysqli.default-pw
    9 o( T& `% ?- J! c8 U: A% t- h
  1237. mysqli.default_pw =' Q  J- ], F" O5 i/ N3 h- z' ^

  1238. + a) N! a; z7 Q" M  [2 X
  1239. ; Allow or prevent reconnect7 A! y: L& L4 z- m( T3 w
  1240. mysqli.reconnect = Off
    : ^( T2 c4 k5 _- h

  1241. / U/ O: O5 F* C- \, F3 f
  1242. [mysqlnd]
    , d+ W% O. V$ C, e0 n  y
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ; s1 w: C6 Y2 g) u6 [
  1244. ; used to tune and monitor MySQL operations.
    ( Y: E! Z- s) s; `* ]8 L6 ^. y
  1245. ; http://php.net/mysqlnd.collect_statistics
      Z% M5 h# F" z3 _, u7 n, f
  1246. mysqlnd.collect_statistics = On, o9 q, q5 O: m0 Q

  1247. % i$ o" U9 h+ l) `
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be5 @5 |# f4 n' ?2 n
  1249. ; used to tune and monitor MySQL operations.
    4 h/ @' z. R) \( _1 ^% }* f( E3 U
  1250. ; http://php.net/mysqlnd.collect_memory_statistics; a% D! H2 A2 e! m  @
  1251. mysqlnd.collect_memory_statistics = Off$ I0 d) s+ j& W

  1252. " B# d7 C& I  r, D$ y
  1253. ; Records communication from all extensions using mysqlnd to the specified log7 H: c* U# [4 ]. L0 w5 o, M* R7 J
  1254. ; file.
    + R2 i8 M5 p/ t& z
  1255. ; http://php.net/mysqlnd.debug
    % L/ O) x1 Z4 }6 f2 _2 ?
  1256. ;mysqlnd.debug =
    4 A( A- ?$ W# H/ s! Z' m/ A

  1257. 1 E! M( {; W. H6 N1 q
  1258. ; Defines which queries will be logged.
    # H. Y+ [/ B, e8 l; B% j1 u& I
  1259. ; http://php.net/mysqlnd.log_mask: L% n0 B3 L7 N. e
  1260. ;mysqlnd.log_mask = 02 b. H% c; S4 k7 c2 A4 J+ ?/ i
  1261. ' A. d$ |8 O; M/ G) j
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ) x. k- D2 q& L6 H7 g5 m
  1263. ; http://php.net/mysqlnd.mempool_default_size
    # d+ u+ {% C3 v9 _- l) f
  1264. ;mysqlnd.mempool_default_size = 16000- f0 a! w- C& k+ C, F# R) B

  1265.   U4 P2 A3 ]) H2 F! x' ]
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    8 d' O. |4 p2 Y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size1 G; I: g& I% N3 J+ e
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    # P- s( e2 F$ m  v
  1269. 9 K+ G9 ^9 u; R: x7 [3 @% d
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    4 V+ w9 V1 K4 X: o3 N) n: |
  1271. ; bytes.; I$ z6 r+ }1 E, d
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    % }2 F) I; m0 d% i0 v
  1273. ;mysqlnd.net_read_buffer_size = 32768) I- c' C3 Q( L7 @, V6 ^& p
  1274. 8 ~; {6 X6 f" _! z; V9 C$ ^- y
  1275. ; Timeout for network requests in seconds.
    & e  r. N) Z+ C; t
  1276. ; http://php.net/mysqlnd.net_read_timeout4 \0 ?6 {) s4 Y# l( O
  1277. ;mysqlnd.net_read_timeout = 31536000+ C# p$ a: w1 R% x/ t( p

  1278. . w5 f( M5 }% ?! d7 F0 N
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    & `$ A' P6 C& x4 i. a
  1280. ; key.% `. q; N8 v1 U- Y$ p
  1281. ; http://php.net/mysqlnd.sha256_server_public_key5 M% S' }1 U! ?# k& Q
  1282. ;mysqlnd.sha256_server_public_key =
    9 Y/ {( g2 C- `( V

  1283. 8 Z' e. e. ^1 X; o2 {  w
  1284. [OCI8]/ p& k) ^3 _7 A" Z8 L( b) _* S

  1285. , W5 c1 E* J0 U4 i1 ]- D& z
  1286. ; Connection: Enables privileged connections using external9 O7 N, R0 k/ Q! c( u
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    4 L8 ]. t+ ?0 b/ J* h
  1288. ; http://php.net/oci8.privileged-connect
    , {7 n$ a+ |  t% A& H
  1289. ;oci8.privileged_connect = Off7 x. S2 x1 z; J% z4 V' P& \+ a

  1290. : U" _2 u  ]4 Q5 b2 p! |
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    % x# U: |6 G; `2 b. e7 A7 f
  1292. ; process. Using -1 means no limit.1 _; W) {" t- c9 d* B2 t7 C
  1293. ; http://php.net/oci8.max-persistent, L1 L$ z* U! v- G
  1294. ;oci8.max_persistent = -1
    0 S/ d. l4 L) L3 b% S4 s4 z

  1295. & s3 D1 B& D5 R% {( h
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ) l4 N2 y7 t* b& b1 l/ a
  1297. ; maintain an idle persistent connection. Using -1 means idle
    5 K6 d5 _+ B+ |
  1298. ; persistent connections will be maintained forever.% m; n1 E9 ^7 B/ K) B9 t
  1299. ; http://php.net/oci8.persistent-timeout
    , e+ J  G, e$ h$ k5 I; L
  1300. ;oci8.persistent_timeout = -1& m( ~* T3 B3 P* V2 h/ p0 ]
  1301. , u, W" e2 q; P% [0 Q
  1302. ; Connection: The number of seconds that must pass before issuing a
    2 }8 N' L# `2 H
  1303. ; ping during oci_pconnect() to check the connection validity. When5 U6 w9 B' z" E% i0 S
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables+ V5 M2 t. v1 B- Y& _
  1305. ; pings completely.! o( l  X( ]! S' i) @0 Q+ @& V
  1306. ; http://php.net/oci8.ping-interval
    4 H0 X: }' H+ A% o  C) v
  1307. ;oci8.ping_interval = 600 E9 f* \1 X9 u: P: _9 y

  1308. 8 p  y. j% A' t* }& B
  1309. ; Connection: Set this to a user chosen connection class to be used
    1 B$ d# C+ {$ F: n% Q; S
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    - Q5 _3 a, H1 M! f- ]. x  z. ?! M
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to9 J3 I1 n2 K2 _1 _' g
  1312. ; the same string for all web servers running the same application,) q# B' l0 _/ S9 z" Z5 Q
  1313. ; the database pool must be configured, and the connection string must
    % ^0 U  ~$ P4 g. r# a
  1314. ; specify to use a pooled server.
    9 E3 P2 D3 ^" m/ G- R' \  B
  1315. ;oci8.connection_class =6 [' q, c# `0 C9 R! w

  1316. ' N* _( e, j4 |& l
  1317. ; High Availability: Using On lets PHP receive Fast Application
    $ x- B8 L& C7 V6 m
  1318. ; Notification (FAN) events generated when a database node fails. The9 K1 M: q9 P, o! S) r
  1319. ; database must also be configured to post FAN events.
    . b- i! @5 p, t9 _2 `2 [
  1320. ;oci8.events = Off. ~& P& t1 E& S7 h5 y

  1321. % L+ f* C& S) F4 O9 h
  1322. ; Tuning: This option enables statement caching, and specifies how5 x9 {& f* H0 M( w; v+ Q$ O( u! ^
  1323. ; many statements to cache. Using 0 disables statement caching.3 p$ x) X; \* ^9 Q
  1324. ; http://php.net/oci8.statement-cache-size. F# W$ D0 {  U- g3 Q' k! P2 H
  1325. ;oci8.statement_cache_size = 207 P& m: T8 C1 x: d

  1326. : Z- K& M9 k# g/ F. u
  1327. ; Tuning: Enables statement prefetching and sets the default number of% t- r8 Z  z5 q
  1328. ; rows that will be fetched automatically after statement execution.
    ( R  R( a- s9 q1 w: d. D- |0 v
  1329. ; http://php.net/oci8.default-prefetch
    . n1 B9 T% u9 Y  ^! y2 m  \+ z4 O
  1330. ;oci8.default_prefetch = 100
    ) y" |3 W, S+ h8 j2 h# K* t1 b+ h, d

  1331. # C2 i7 ^! |  V3 p# l9 ^  j1 a
  1332. ; Compatibility. Using On means oci_close() will not close
      `5 c2 l2 O" P2 d
  1333. ; oci_connect() and oci_new_connect() connections.
    0 |. \" d+ e8 U' J0 `
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ; m3 E- u8 |5 o8 J
  1335. ;oci8.old_oci_close_semantics = Off& R3 `7 V5 J) t3 t7 s; O) _( o

  1336. 7 |9 g# _  P# j% m* I6 U  g
  1337. [PostgreSQL]8 \1 M9 F4 ~4 C- u. U; m2 S
  1338. ; Allow or prevent persistent links.
    : W* ?- d. J% u9 b* ]
  1339. ; http://php.net/pgsql.allow-persistent
    # O, A4 l; B& E4 L- m/ g
  1340. pgsql.allow_persistent = On/ g1 d) D9 Y2 q' S  f1 p$ l( R1 M6 m8 W

  1341. ) |5 Z% G9 {4 X6 _. }; C
  1342. ; Detect broken persistent links always with pg_pconnect().
    5 V0 ~9 o. ~: m7 M/ M: Z2 T
  1343. ; Auto reset feature requires a little overheads.* j: y' o% o3 a- y
  1344. ; http://php.net/pgsql.auto-reset-persistent
    0 Z7 z: X( x# a; K2 D0 L, }
  1345. pgsql.auto_reset_persistent = Off! g+ ~) w! _# A! L
  1346. 9 m! A- [3 C' H% t5 ^7 `
  1347. ; Maximum number of persistent links.  -1 means no limit.
    . C9 f3 L% c& `
  1348. ; http://php.net/pgsql.max-persistent$ X4 D- `" ]% T+ b
  1349. pgsql.max_persistent = -10 D, Z$ K2 c8 u- t8 J* k. h5 r

  1350. , S" e  q2 ?! A9 `1 n# C" ]
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    9 v& g: I! j) A, G4 ^! E
  1352. ; http://php.net/pgsql.max-links
    " G. t  a+ l' R1 ]3 I2 _" m9 w
  1353. pgsql.max_links = -1
    - ], u; W: X- h2 Z
  1354. 9 g1 |5 [$ B; D. H6 V) s
  1355. ; Ignore PostgreSQL backends Notice message or not." r1 ^) y- N4 E$ D# j
  1356. ; Notice message logging require a little overheads.
    7 ^# q3 d2 G0 g" O% y$ n. y0 I
  1357. ; http://php.net/pgsql.ignore-notice
    1 K* X: m% S/ p5 [0 w! q( q
  1358. pgsql.ignore_notice = 0
      [+ U: p! G, g  i
  1359. 5 u8 h1 V: x/ M
  1360. ; Log PostgreSQL backends Notice message or not.- d2 O# M/ n$ I( w) o5 y0 F
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.6 b, r* Z& ]  ~3 v
  1362. ; http://php.net/pgsql.log-notice. O2 t$ l* L5 ~0 f; q6 @  ^3 ?
  1363. pgsql.log_notice = 0' q9 M: o8 h( E' [. D

  1364. / R, z% q8 {9 h3 b$ K* Q9 C3 _
  1365. [Sybase-CT]
    . R$ ^( N4 ]8 s7 T! t) S  w
  1366. ; Allow or prevent persistent links.* C8 n* T( V1 q+ ]  W' J3 ?, ?+ z
  1367. ; http://php.net/sybct.allow-persistent
    ! l1 ]" q$ ~% h5 D
  1368. sybct.allow_persistent = On. W0 q3 |, G/ J( u

  1369. 6 [/ g7 ~* N- a
  1370. ; Maximum number of persistent links.  -1 means no limit.
    ; A( P6 Y& e# ?8 u
  1371. ; http://php.net/sybct.max-persistent+ t  y( Z+ o: F) g
  1372. sybct.max_persistent = -1: a# D) E, b+ {* s9 c9 n" C; l

  1373. ' ~, W7 E6 t2 K' n6 s
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- J" Z! n7 C0 _: i
  1375. ; http://php.net/sybct.max-links3 P8 l7 h6 v' _" q* d
  1376. sybct.max_links = -1
    2 i/ x; S' @. U; z. r% Q

  1377. / [  k1 @2 t: r6 r6 A3 |
  1378. ; Minimum server message severity to display.) ], a$ e0 n% d( U7 u" B  a
  1379. ; http://php.net/sybct.min-server-severity$ ?" b+ V7 |/ Y: o) _
  1380. sybct.min_server_severity = 10
    0 {4 x' L& k2 a. W; g$ ~) p: o1 R

  1381. 7 m$ M/ \' }- |3 G, P. B7 l6 h
  1382. ; Minimum client message severity to display.) o  f5 _0 @$ C$ m0 B
  1383. ; http://php.net/sybct.min-client-severity
    " R; C( s( W# t7 t) _/ d  R
  1384. sybct.min_client_severity = 10, f- {- E0 i0 I/ R( U$ k0 j3 Z
  1385. % T/ y. C  s7 H+ s' z7 }
  1386. ; Set per-context timeout6 K) v. J( \3 r) U- }# \
  1387. ; http://php.net/sybct.timeout, V; I) W: `7 }2 k( ]2 `
  1388. ;sybct.timeout=
    - `4 `6 I- ?! c! ^/ G
  1389. 6 L' {7 s, f/ ^7 x3 x/ v$ d
  1390. ;sybct.packet_size
    7 [, w/ o& E9 Q

  1391. # z. m# F1 b4 L% q7 X+ q
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    * b0 ?5 I7 X4 O5 \
  1393. ; Default: one minute8 ?) B( a4 i4 T1 p
  1394. ;sybct.login_timeout=
    # g: v; b0 V7 V7 j+ \: V1 {7 b: O7 E

  1395. 9 B; K4 ?) ~3 D6 `: A
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.# _/ O- C8 O: W3 e
  1397. ; Default: none
    9 `# i) i& Q# M; h- n3 I$ O
  1398. ;sybct.hostname=2 M' j1 P+ {  F/ q! y4 s- m- [
  1399. , D3 r! r7 g; n: c
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".6 l; i. e, e) b7 u/ K# ^5 U9 }
  1401. ; Default: 0
    ; j$ M/ b1 Q5 @. S, Y  ?
  1402. ;sybct.deadlock_retry_count=
    8 w  _: }7 G) P

  1403. ; t6 J" W6 O, W2 l. V9 L+ z% g
  1404. [bcmath]
    & ?- c' D# R& m1 I' m1 T2 L5 M+ |
  1405. ; Number of decimal digits for all bcmath functions.9 m3 o# S/ }3 @( O
  1406. ; http://php.net/bcmath.scale
    5 c/ j# L- i! A9 i6 S6 c- V
  1407. bcmath.scale = 0
    ( @& W! q6 \# v: {; J! x
  1408. # A8 x% z" }& S# z# P+ R: C- n* n+ e
  1409. [browscap]9 F  {8 m6 [+ x! u: |5 R: G
  1410. ; http://php.net/browscap
    $ |7 P3 s" M& i! i# D" f
  1411. ;browscap = extra/browscap.ini# o5 D# t# e. k& [' a9 S  d* S: q" K

  1412. 6 \# \& Q* H, f8 P9 x; }$ `, t
  1413. [Session]
    1 D) B) W9 t4 l1 _5 A
  1414. ; Handler used to store/retrieve data." }/ ]9 ?8 L9 v: I/ m
  1415. ; http://php.net/session.save-handler
    / n4 x" L, Y: F7 Z# _
  1416. session.save_handler = files
    3 ~/ V( v+ G' _& J# ~, h( `1 H

  1417. 0 y5 o0 V3 T" A- n4 x) V/ }% m; p
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    : [) g5 p) z$ A) B1 H% m1 V
  1419. ; where data files are stored. Note: Windows users have to change this2 F' r7 r. y3 b# q8 ^- r
  1420. ; variable in order to use PHP's session functions.+ x; k* _* P7 J$ |
  1421. ;
    3 x* N+ s- ^! r% Z9 o
  1422. ; The path can be defined as:% ], T# Z* p; |, h
  1423. ;* [2 L8 ^* N/ J# T
  1424. ;     session.save_path = "N;/path"1 A2 l2 G9 l  ^( h! {' v
  1425. ;
    / ~! b6 V7 W" Y; t* j  G
  1426. ; where N is an integer.  Instead of storing all the session files in# A% u1 ]' b* Y4 `! f8 ], B
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    8 |5 ^( O, m5 |3 ?, ^5 \+ D
  1428. ; store the session data in those directories.  This is useful if* ]+ F# z* H3 r5 N' C- V6 C
  1429. ; your OS has problems with many files in one directory, and is
    5 `9 c5 u6 Z8 N: T  Y9 B2 j
  1430. ; a more efficient layout for servers that handle many sessions.
    % X. P/ L4 f, c8 q6 Z- e1 N
  1431. ;
    8 n( D+ i0 f: q8 Q( u7 n
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    7 g$ W/ a" w5 b- x3 w( a
  1433. ;         You can use the script in the ext/session dir for that purpose.) L1 K2 A% d/ G; J/ m/ Y4 _
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    4 P) T3 V+ ]- W& W* ]" M
  1435. ;         use subdirectories for session storage
      `+ a: m: G6 [) p# r. P
  1436. ;
    / J: ?9 d  U% o1 [
  1437. ; The file storage module creates files using mode 600 by default.
    ! ?9 r: [3 F9 E) d6 x: m# K
  1438. ; You can change that by using6 D% {  T0 z$ T
  1439. ;7 f3 ]5 ~8 Q9 L/ T: P0 ]9 @; |
  1440. ;     session.save_path = "N;MODE;/path"
    ' b1 k5 w# K6 G3 A0 S
  1441. ;8 f+ _8 ?$ X2 |3 {8 [/ ]
  1442. ; where MODE is the octal representation of the mode. Note that this
    % w7 u1 x4 T6 e$ ~; m0 S2 l7 _
  1443. ; does not overwrite the process's umask.
    - W7 u# R' ?4 O8 q
  1444. ; http://php.net/session.save-path
    9 ]! X0 x! s9 P% X& I% d9 y9 x
  1445. ;session.save_path = "/tmp"6 J$ V. F& I7 G* t$ p& [: j

  1446. " K+ {/ ~$ b' I4 @* L7 @6 E
  1447. ; Whether to use strict session mode.- i% ]8 e" V% ^; u
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate5 J1 E8 t( ?7 d  S+ M
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects3 k" {( n2 C# _# Q" X' l5 H# z
  1450. ; applications from session fixation via session adoption vulnerability. It is
    / G% }( R9 c0 _8 q8 T" D
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ; W# ~2 R$ y9 {  s9 ~
  1452. ; https://wiki.php.net/rfc/strict_sessions0 N; ?4 u4 i# d, Y7 y' j9 I
  1453. session.use_strict_mode = 0  V2 @! \. \1 b+ y

  1454. 8 X- P' }+ a$ M5 `, p$ f
  1455. ; Whether to use cookies.
    " D* ~( g6 j/ f$ F
  1456. ; http://php.net/session.use-cookies
    9 H- W8 g7 I, s. w. T4 a
  1457. session.use_cookies = 1+ ~! k2 a' l& O0 r, X$ m8 ]

  1458. 9 X4 U; a3 t4 z1 r+ ?
  1459. ; http://php.net/session.cookie-secure
    $ K0 v( Q* [& b8 R) v; O
  1460. ;session.cookie_secure =7 S3 x) @) g1 v# a0 W. J+ G
  1461. 3 P& b4 G( z; j, D: V9 l. r
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining8 B- G) A. F/ o  r3 x( A( S
  1463. ; the session id. We encourage this operation as it's very helpful in combating. l1 `, T+ C$ s& r' w, @
  1464. ; session hijacking when not specifying and managing your own session id. It is
    5 n1 S  j/ x& c% g6 [8 N/ w
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.% q  S. w- m7 w, f" m
  1466. ; http://php.net/session.use-only-cookies
    ) P& C0 Y/ a* G; K& a7 n
  1467. session.use_only_cookies = 1- V/ u2 ~: \# k7 J4 f3 v
  1468. 4 D: V" {4 U# q: k0 h
  1469. ; Name of the session (used as cookie name).+ P. G. w& j  G/ j; v! N8 F
  1470. ; http://php.net/session.name: C. G) {; l1 ?5 [3 C& U6 p  j
  1471. session.name = PHPSESSID1 Z3 u. w' Z  r3 c: K+ A/ v" S( H$ P5 s

  1472. ) b  Z3 ~0 u4 ]4 Y1 c1 e
  1473. ; Initialize session on request startup.
    ! s+ F( x0 d, u, |0 X
  1474. ; http://php.net/session.auto-start
    0 v1 b1 E1 r. H1 r4 \
  1475. session.auto_start = 0
    ; ?- k: k; E2 o8 v

  1476. / H! m, h  Z1 c4 _  t
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.* g# X3 D" o, U% X
  1478. ; http://php.net/session.cookie-lifetime- `- i- z! [& v% w
  1479. session.cookie_lifetime = 0
    % T  R& W! T4 u# H

  1480. 6 N3 ?  A! t( m$ A6 h
  1481. ; The path for which the cookie is valid., P5 O. D( |: v  B" _
  1482. ; http://php.net/session.cookie-path! i7 R& R! N- |$ _, B4 O
  1483. session.cookie_path = /& L3 Q5 u( v$ f, z5 }  p& J

  1484. ; ]; Q  a+ R3 n+ u
  1485. ; The domain for which the cookie is valid.2 g$ _% S. k. k* H9 G
  1486. ; http://php.net/session.cookie-domain
    # L2 ]. a7 ]" G) n
  1487. session.cookie_domain =
    # _3 o; X1 q2 x8 J

  1488. / F4 R$ T2 W7 m" X% z7 C( R
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    8 P  e( E# o. D3 c2 z4 X
  1490. ; http://php.net/session.cookie-httponly
      i6 r& v. Z  m) [4 g
  1491. session.cookie_httponly =
    , x# I0 \# z. l+ F7 w

  1492. ) r' d( I2 Z0 h, R( ^$ H$ v
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    7 ^  l% T" c8 ]7 d: g! V
  1494. ; http://php.net/session.serialize-handler9 v6 `5 L2 @! o# z
  1495. session.serialize_handler = php# y( a6 O/ u" [  q$ n0 [

  1496. # `' t; y5 Y! f4 K7 }5 @+ j* h
  1497. ; Defines the probability that the 'garbage collection' process is started& q6 [  b" A8 |; ~# O2 |- @$ o
  1498. ; on every session initialization. The probability is calculated by using
    + v& L9 M: T) \8 A1 |& H* P& c
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: A% v6 A  M; y9 E& p
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    5 N: ^+ I& b3 T" ~
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 t+ C; r4 O$ M' O0 I5 s* C0 \! t8 E+ [. r
  1502. ; the gc will run on any give request.: Y; W; K, x* f3 {7 ~* N
  1503. ; Default Value: 19 v/ x8 \$ M! O; H- F+ D1 b, w! {+ a
  1504. ; Development Value: 1
    ' K6 r5 K8 B" t8 Q
  1505. ; Production Value: 14 Z, m3 S6 ]0 P8 E2 j
  1506. ; http://php.net/session.gc-probability
    " G) R5 o6 ?2 G# n
  1507. session.gc_probability = 14 ]) a/ W" F" W# z. t1 ~. j! I

  1508. % X; F& m! U  F% L& d' s  V; o; J! v
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    / K9 \! i4 \% b( O* F$ T: }, j  y
  1510. ; session initialization. The probability is calculated by using the following equation:
    / J" |1 c8 Z( Q9 Q* S/ u, p
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and, t+ O+ `0 f& n) c5 k
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    7 w% v- ]9 |5 {0 C/ x7 E* u
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 L5 Y$ r% [  s2 l
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you0 z* h6 g% V$ |3 a9 [2 g. x
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,* P) o! h- |1 U  L
  1516. ; this is a more efficient approach.
      k; r$ W2 F% ]# l/ w
  1517. ; Default Value: 100
    % q/ D" I9 Q2 z& T# }' k& _
  1518. ; Development Value: 1000
    3 q2 `" D5 F2 A( d0 S
  1519. ; Production Value: 1000
    0 _, v  ^* F% k: Z5 I( i  b
  1520. ; http://php.net/session.gc-divisor
      w+ X  V: e1 \) n3 q) p
  1521. session.gc_divisor = 1000
    5 z) c/ m+ x( M" K; y1 g2 c
  1522. ; {, ~5 [5 P( p  I
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    # {( W' O( p& c1 J  Y
  1524. ; cleaned up by the garbage collection process.3 v3 G' ~, Y7 Z5 T
  1525. ; http://php.net/session.gc-maxlifetime8 f3 d# Q4 C; \  t6 {. W4 J
  1526. session.gc_maxlifetime = 1440
    ' |% v2 H, d9 i6 E& F

  1527. + x6 j% k/ J$ ~1 ]: W6 G2 ~' [& b
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    * m  e) \  s9 A- h" @2 }
  1529. ;       (see session.save_path above), then garbage collection does *not*0 \& f/ O3 d* X( b* S/ R
  1530. ;       happen automatically.  You will need to do your own garbage
    & |9 R5 w% G8 H1 s: N$ n
  1531. ;       collection through a shell script, cron entry, or some other method." p! X, J7 g) E$ U) s
  1532. ;       For example, the following script would is the equivalent of: n* H' k; ~! b  J
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):) |" Y, D9 l6 @! J; @8 y; w
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm3 J, Q2 Q0 @1 x: U0 h& G6 h# f
  1535. & I$ s6 a: L+ L& [
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    . x. T8 b/ h# W. A2 \
  1537. ; HTTP_REFERER has to contain this substring for the session to be3 X5 c. W' D2 i) l& D
  1538. ; considered as valid.
    0 p* g9 t9 z; J- M% p
  1539. ; http://php.net/session.referer-check
    # e9 x/ F! P8 y& `
  1540. session.referer_check =$ Y& g/ ?! i( k1 |

  1541. - s+ s+ ~' W: o# q* Y/ f
  1542. ; How many bytes to read from the file.6 _& W3 s( W' z+ P6 ?  v1 l$ I
  1543. ; http://php.net/session.entropy-length6 ?+ b0 s( G1 I/ a
  1544. ;session.entropy_length = 32
    % F. [8 `$ L" @3 Y, b2 Y
  1545.   ~' [) c  S7 C- u3 u
  1546. ; Specified here to create the session id.
    " l0 Q1 {9 S& I* t; @
  1547. ; http://php.net/session.entropy-file, A6 A" d" ^$ I9 _. l0 Y$ K) Q
  1548. ; Defaults to /dev/urandom
    $ j3 h9 o& @4 `0 b5 _$ t1 B
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 ~, p/ }7 {  y- P
  1550. ; If neither are found at compile time, the default is no entropy file.
    - s( F* T# D+ o4 |) N
  1551. ; On windows, setting the entropy_length setting will activate the' R3 s+ Q/ r  c$ f; Q0 G1 r! Q1 H
  1552. ; Windows random source (using the CryptoAPI)
    7 T2 I5 u7 m; U/ Z
  1553. ;session.entropy_file = /dev/urandom8 @. r6 P, T1 C$ ?; }
  1554. / b7 h' X5 f5 z
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    1 B+ n% ~9 J( ^, G8 Z& S, }9 O
  1556. ; or leave this empty to avoid sending anti-caching headers.' I: M2 k& B9 Q% j
  1557. ; http://php.net/session.cache-limiter  \3 _! y/ `6 P3 d4 [6 _% z
  1558. session.cache_limiter = nocache' S# w. u+ y3 K; [8 J$ o8 s
  1559. $ O$ c5 q& v( W' j/ I  D( j& I/ c
  1560. ; Document expires after n minutes.- o; j. U) h% w. Y) o9 ~
  1561. ; http://php.net/session.cache-expire1 D3 r6 F% e# z1 c4 \
  1562. session.cache_expire = 180
    8 }7 Z6 J) a- v6 l; n4 k( d

  1563. 9 b& X) A# {1 _" f
  1564. ; trans sid support is disabled by default.) E4 P8 D% A9 l5 w: s
  1565. ; Use of trans sid may risk your users' security.( a' I) Q5 ^  D$ r% M! ^
  1566. ; Use this option with caution.! U3 w; L) j2 s0 E" ?
  1567. ; - User may send URL contains active session ID* a7 o- @& D8 v1 \' x
  1568. ;   to other person via. email/irc/etc.! z% k9 X0 f& z. u0 B  G
  1569. ; - URL that contains active session ID may be stored
    % P$ E0 }8 ^; o5 n0 w0 [
  1570. ;   in publicly accessible computer.' r1 V$ M& o3 P  o
  1571. ; - User may access your site with the same session ID! |; o' x5 |0 W* x) F- z
  1572. ;   always using URL stored in browser's history or bookmarks.# c* L" Z1 H; I7 j: n
  1573. ; http://php.net/session.use-trans-sid
    , Y( a  ~: }" `. f6 B
  1574. session.use_trans_sid = 0
    # f4 t9 p0 z! X6 O. {$ V6 E* M1 Y

  1575. . ]9 p; M# L9 L- R
  1576. ; Select a hash function for use in generating session ids.7 X; G- E3 y2 s' l
  1577. ; Possible Values) |! h- O, U, j) x& E7 \; @
  1578. ;   0  (MD5 128 bits)4 g. {) v) N# M( O8 A
  1579. ;   1  (SHA-1 160 bits)( P# E- R+ e) t' a  p
  1580. ; This option may also be set to the name of any hash function supported by
    # [; t: m* B; ~) x
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    8 m2 p* e4 z, }' n) V2 `9 v7 I- c
  1582. ; function.' c. N% U1 \% k1 H6 U
  1583. ; http://php.net/session.hash-function
    * V: u% ~1 ^0 P' y* C5 S
  1584. session.hash_function = 0
    & `  t7 N* O4 \2 m3 H5 ~+ B. R+ l

  1585. ) Z  n3 e) K+ f) x3 Y2 k, f
  1586. ; Define how many bits are stored in each character when converting; S3 g* `9 G! G: ^5 C2 |& n5 [6 x* _
  1587. ; the binary hash data to something readable.
    6 J* w$ I% A! J7 f, B
  1588. ; Possible values:3 c, @% m4 C: A- g1 ^
  1589. ;   4  (4 bits: 0-9, a-f)5 ~- i8 Q8 p( p4 a7 E/ U
  1590. ;   5  (5 bits: 0-9, a-v)
    8 R4 Y6 [2 ?% V* E
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    5 _; r- X3 O8 }% a
  1592. ; Default Value: 4/ A6 o1 Q: N, b3 b1 ?( \
  1593. ; Development Value: 5
    5 N; i- [7 a. O- X
  1594. ; Production Value: 5
    1 {5 ^! e  [4 Q+ \4 v
  1595. ; http://php.net/session.hash-bits-per-character. a! ^% R; ?0 R; |- X( M- W
  1596. session.hash_bits_per_character = 5
    0 {2 z2 |; p& x: \

  1597. : l& L# ?! g7 ~: x+ G
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    " M  a% ^+ A1 w! t' v2 ]; z8 N6 \
  1599. ; form/fieldset are special; if you include them here, the rewriter will( A" d3 |  j5 O/ Q
  1600. ; add a hidden <input> field with the info which is otherwise appended
    0 C0 ~2 f% s1 g2 W" E4 D9 H* E4 d: h
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    # a! y& G9 v0 `2 \2 ^3 ~, o
  1602. ; Note that all valid entries require a "=", even if no value follows.7 k  Q6 f. a5 V7 r! h
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="7 f  t4 d8 f6 k  J
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 g; K8 @6 X' s$ ?. W
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". }( k, B5 H) i8 c! A
  1606. ; http://php.net/url-rewriter.tags5 J$ h% D9 {' J' b/ k- R& {
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 D$ K% y! c/ p2 b

  1608. - L" L% D( T! @
  1609. ; Enable upload progress tracking in $_SESSION
    & v# p9 w7 S  ]" T5 }
  1610. ; Default Value: On2 g7 g, r- A0 r8 R6 i, l
  1611. ; Development Value: On8 E  D5 d+ C* G# |6 e% R% k8 |9 t$ r
  1612. ; Production Value: On5 x! d3 y' E: \2 V; S- B
  1613. ; http://php.net/session.upload-progress.enabled
    ' f6 N; K$ ~+ ^4 {
  1614. ;session.upload_progress.enabled = On
    1 x$ s. P0 l+ a' _, y" o/ l7 M( i8 b
  1615. 4 U) Z6 m, R4 P; \, R$ K
  1616. ; Cleanup the progress information as soon as all POST data has been read6 Z  U5 h1 ]+ C/ `! i$ P
  1617. ; (i.e. upload completed).
    7 }+ l& H& L, ?( t' f0 N4 f
  1618. ; Default Value: On
    . s9 K: L, g- u1 M
  1619. ; Development Value: On' i1 {/ C: [( c& u1 W% x
  1620. ; Production Value: On) q' W, a/ p5 h7 m# i  M, B
  1621. ; http://php.net/session.upload-progress.cleanup
    $ W& T) n" y+ E) _: U: W
  1622. ;session.upload_progress.cleanup = On
    : F- o. `3 M" [5 X: H0 P. s

  1623. " ?. G  Z" y5 \2 ^
  1624. ; A prefix used for the upload progress key in $_SESSION
    0 ~6 x2 ?4 z- I" o! `$ {- b4 T! ?4 q
  1625. ; Default Value: "upload_progress_"5 W: s5 J+ F7 s0 ^$ T9 A+ N9 O$ g
  1626. ; Development Value: "upload_progress_"5 g" E+ l$ r0 ~. g  {& R# ?
  1627. ; Production Value: "upload_progress_"
    7 z: {4 h4 V$ J7 B* J
  1628. ; http://php.net/session.upload-progress.prefix
    / B$ Z- v0 @9 F. k2 y1 h2 ]# a
  1629. ;session.upload_progress.prefix = "upload_progress_": D& p! T" c- V5 S

  1630. ) u9 [# v5 \, P0 t9 V; w
  1631. ; The index name (concatenated with the prefix) in $_SESSION7 H; e% T1 }% y* r7 D/ y' h
  1632. ; containing the upload progress information; Z6 a% M9 ?+ B; \: c
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 y/ M1 h# b& `5 ^% B
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"0 P; H3 X8 Z/ r. B0 n
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' o: p; e7 U: d9 r* [" \- p5 L4 R* P
  1636. ; http://php.net/session.upload-progress.name
    1 ^" U& I$ V) v5 Z. T
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"4 O( Z' Q/ ~5 D; O% S' U* G9 \
  1638. - y0 I, Q& K% S. I. R  E
  1639. ; How frequently the upload progress should be updated.
      U9 J0 U; J) [1 {/ o
  1640. ; Given either in percentages (per-file), or in bytes
    + ?( Z) v5 `, @, A
  1641. ; Default Value: "1%"' \, `3 O) \& l, c
  1642. ; Development Value: "1%"
    1 R1 o( ~. e% O- \/ E
  1643. ; Production Value: "1%"
    # \6 l, x* F' d% {1 T  Q! B
  1644. ; http://php.net/session.upload-progress.freq7 t5 y% q  b( z" ~: G& J
  1645. ;session.upload_progress.freq =  "1%"
    2 N9 l& |/ C/ I) g4 I% P

  1646. * @1 m6 U' @0 y' N. _
  1647. ; The minimum delay between updates, in seconds$ r8 O: J' N' A, U+ u4 u. W4 A
  1648. ; Default Value: 1
    + z0 d% y$ g; c) s- r* g0 b
  1649. ; Development Value: 13 ]/ w) ~/ w* m. f, s  g; `
  1650. ; Production Value: 1
    ( l: I3 T: f7 X+ d$ D7 u
  1651. ; http://php.net/session.upload-progress.min-freq
    9 |/ K* {- U2 B0 n/ ^4 t( g: ~$ w
  1652. ;session.upload_progress.min_freq = "1", e6 m, n: r' k  h- v% O

  1653. & h% j1 `+ ?- B6 \& t
  1654. [MSSQL]% W+ n5 _& _0 e% \1 R: M4 O7 H
  1655. ; Allow or prevent persistent links.
    + f; X! W$ k3 {3 r! U# y
  1656. mssql.allow_persistent = On! `3 @1 E6 |2 n1 `
  1657. " K; y5 H  U2 G
  1658. ; Maximum number of persistent links.  -1 means no limit.: J5 V) R" ^2 H* ]' F* B6 A- @8 r
  1659. mssql.max_persistent = -1
    6 E; ]7 |* ^" `' y1 O1 }
  1660. * L3 f/ N- Y) P
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    * R4 n3 N* G( o2 r: c  `" W
  1662. mssql.max_links = -1% i. L. `) u# [0 N7 K: v1 n8 C

  1663. ! I  r2 ]+ R. P: F! x3 [/ x/ f
  1664. ; Minimum error severity to display.# }2 k' W- b# V& z. A0 S7 `
  1665. mssql.min_error_severity = 102 v, u; n+ u+ M. n6 [8 D7 m
  1666. 4 B& Y( J1 ^% A; ]7 Y$ ~6 I1 d" {
  1667. ; Minimum message severity to display.
    ) S: S0 L4 t6 L9 [( X- O
  1668. mssql.min_message_severity = 10
    0 Q* \. \: Y6 Z
  1669. % U, @2 P2 _$ w& x
  1670. ; Compatibility mode with old versions of PHP 3.0.1 f. P) E1 k, e# b9 {& i# S4 u! q
  1671. mssql.compatibility_mode = Off
    . d$ }' @2 `; n# K2 o

  1672. / X5 O4 n  R6 x5 e: u/ ^1 y& |  ]
  1673. ; Connect timeout. T. [- b2 a# s0 N6 a; X$ I+ M3 ~$ @8 a
  1674. ;mssql.connect_timeout = 5. I+ |4 f1 }- H: W) @

  1675. $ C! k! B0 S7 ^* y( s% O( Z
  1676. ; Query timeout4 n$ w5 Y& T5 V: E
  1677. ;mssql.timeout = 601 w& c! @* S7 R
  1678. 0 u) ~1 y  O, d6 {2 @. J
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    3 w" h1 C+ @4 o; |$ P( M! H
  1680. ;mssql.textlimit = 4096
    - T9 ~) v$ X8 J& j
  1681. 4 C$ `( t( L$ y8 |
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    / U4 Y% K* t! L4 f) i. M9 G! ~
  1683. ;mssql.textsize = 4096" Y7 L/ I( k( {: K4 O# x, c

  1684. & A7 Q# y- O) x& [, M
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.- U- X8 w' j8 `$ T
  1686. ;mssql.batchsize = 0
    ' V# h$ @' U/ ?3 U

  1687. / k* V3 y$ L  P6 t3 P7 I5 t9 c
  1688. ; Specify how datetime and datetim4 columns are returned
    9 Q8 i4 e: j8 \  z* F  |* Z
  1689. ; On => Returns data converted to SQL server settings
    ( s* P! m8 F% ?  W! t' j
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ) ]9 _; E% p; @
  1691. ;mssql.datetimeconvert = On- `, E' V* d: i/ H
  1692. ! v+ @) H  J- c. h8 T
  1693. ; Use NT authentication when connecting to the server
    ; C. b" H& \8 k
  1694. mssql.secure_connection = Off% U4 M- ]8 \* [1 @3 Z1 ?

  1695. - c1 g% j2 p+ B! A
  1696. ; Specify max number of processes. -1 = library default0 _8 J7 j9 ?9 K* v6 {
  1697. ; msdlib defaults to 25
    & X$ e" I& D% P+ ~2 [
  1698. ; FreeTDS defaults to 4096
    8 |; }2 x9 r- \6 g% J+ w
  1699. ;mssql.max_procs = -18 r9 K# ^8 a+ n' S, E4 H8 y

  1700. # r1 e% n! A" N) F& r
  1701. ; Specify client character set.
    & U* n. R( \2 ~- J9 v5 f
  1702. ; If empty or not set the client charset from freetds.conf is used8 L( R+ G% g7 y' Y4 O* F
  1703. ; This is only used when compiled with FreeTDS
    ! X6 }% Z, o+ N2 j  f& {
  1704. ;mssql.charset = "ISO-8859-1"
    % p) J* N! |' b5 y4 r% i4 ]& D% L
  1705. 9 e- ?2 f* D  o& Q5 s" D
  1706. [Assertion]! j% ^) B; u. @3 h; [* T
  1707. ; Assert(expr); active by default.9 j& L: y+ d* ?% I$ \, k# t
  1708. ; http://php.net/assert.active+ U# X. {! X0 L8 P
  1709. ;assert.active = On
    1 p3 P) o  D8 g) E& E5 _5 j) T
  1710. " y5 p8 g3 l4 u
  1711. ; Issue a PHP warning for each failed assertion., \( b: J; B- O/ q
  1712. ; http://php.net/assert.warning
    - I  D6 [# T9 t% [( H
  1713. ;assert.warning = On
    1 f: d, S: k& k1 t
  1714. 8 Z6 H) g/ ^, l
  1715. ; Don't bail out by default.
    9 K5 \; G; l! u  D; y
  1716. ; http://php.net/assert.bail
    3 q5 ^0 d% r8 e+ y4 }
  1717. ;assert.bail = Off8 Q, t9 o7 X9 u. Z+ Y# k+ Y1 O! U
  1718. * P( C2 l: f( J
  1719. ; User-function to be called if an assertion fails.
    8 c% J( i* y+ i7 {
  1720. ; http://php.net/assert.callback/ `$ P* z6 i7 }' }) o
  1721. ;assert.callback = 0
    9 W& t% a0 g9 d$ c+ e1 D5 f0 b4 W
  1722. # g5 s/ s& t, }/ o1 L$ Q# _1 B
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    * V/ M  `( K4 g/ K% a1 D
  1724. ; error_reporting(0) around the eval().1 B  Z" v6 Z  w% Z6 S# {
  1725. ; http://php.net/assert.quiet-eval
    / A- y/ M3 h1 R3 F
  1726. ;assert.quiet_eval = 0) X$ O* s5 Y; ]3 }: ^

  1727. ! l' y, A$ I* r" x
  1728. [COM]. q- |1 e8 u4 W) I# @9 V4 A. J
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; p/ d. n+ l! k; o1 E8 P, X
  1730. ; http://php.net/com.typelib-file9 }) a( V+ z/ y  q- ^$ I  V  r1 C
  1731. ;com.typelib_file =
    5 f4 U1 o% l6 O  g" |
  1732. / I# A. i( i- [3 U9 R
  1733. ; allow Distributed-COM calls
    " n+ a) ^( n  }! `
  1734. ; http://php.net/com.allow-dcom
    9 ?  z: J! ]/ p3 o. e8 i
  1735. ;com.allow_dcom = true
    3 k( x! S& ?8 ]; x- i. _+ x

  1736. , Q7 _5 J% s) o) u( t7 j& y
  1737. ; autoregister constants of a components typlib on com_load()
      T, [' v8 }! b
  1738. ; http://php.net/com.autoregister-typelib
    6 x" M/ M% Q1 x6 Z& X; i8 l
  1739. ;com.autoregister_typelib = true
    2 g, g& ]# N. a

  1740. 6 d7 s7 G4 P" a7 Y- o: g7 n, h
  1741. ; register constants casesensitive: L2 _7 L  s% d3 R
  1742. ; http://php.net/com.autoregister-casesensitive
    ! h* X1 D  S9 b" U, h: ~& w
  1743. ;com.autoregister_casesensitive = false8 h( \) S) |" d' n* T; S" b
  1744. - _9 T: Z( y+ ^- r: }+ Z: `1 g
  1745. ; show warnings on duplicate constant registrations
    1 I' p+ y! X5 I# R+ M7 ^
  1746. ; http://php.net/com.autoregister-verbose
    ( ~& v$ Y# ]. ]0 |
  1747. ;com.autoregister_verbose = true7 J) K0 |" j2 r
  1748. $ y2 r1 c8 S" C  O8 D% W
  1749. ; The default character set code-page to use when passing strings to and from COM objects.2 l# L& S4 O$ a; \
  1750. ; Default: system ANSI code page
    0 y9 w. d% N- g4 [
  1751. ;com.code_page=
    + j0 C- t! h9 g* C
  1752. , I( R3 F# P( F& U
  1753. [mbstring]; Q3 V9 o, g* C
  1754. ; language for internal character representation.3 G4 \1 v- ~9 |
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.8 c3 q8 d9 M1 H' Q6 E8 f
  1756. ; http://php.net/mbstring.language- J. k8 u: E! {2 \# ~5 l
  1757. ;mbstring.language = Japanese. g, f5 M8 j, l+ {5 y. i( i  g

  1758. 2 M& L3 a1 L3 J8 x1 G, r
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! T  l$ E. M1 |, J3 G6 {/ t, F' R
  1760. ; internal/script encoding.. W- u6 p3 R1 r0 \6 F' S
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)5 _( y7 I3 j$ N$ t1 V8 \2 J5 K
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.* y) R% b7 ?; F- A5 Y
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , p; e6 z0 X, k$ T. u! h6 L7 I  R
  1764. ;mbstring.internal_encoding =
    4 h) P; f& a! A  c* n" s) p) g1 f3 @
  1765. " Y, N( w$ W6 Y% d2 ^9 J
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 Y3 e% z! X( G( ~" M) [  C
  1767. ; http input encoding.$ u/ K7 e( Z- O+ N  W  v2 y; V* N
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    4 ^5 q* ]2 C$ [; U
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    4 E6 N9 l, D6 D
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    9 l$ `" |6 ~/ l! ], d8 p  k. P4 ^' f
  1771. ; http://php.net/mbstring.http-input/ Y  b# _6 k4 @5 a9 C( b3 B1 w: U
  1772. ;mbstring.http_input =: J# L+ i( ?( L; s) B, i5 |( O, i

  1773. 5 H% m/ q, m  A, T$ v/ X% D) X
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead./ X: {8 @0 f7 O# z5 [! R! P
  1775. ; http output encoding.
    4 `& L. I3 J0 t! k: d* _
  1776. ; mb_output_handler must be registered as output buffer to function.- |$ W$ x: T* c  R/ q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.3 M9 }/ D0 }* Z1 j/ }5 ~* m) b
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output4 W( [! P! [/ Q* C4 M* o- v
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    1 o7 \& R. I9 d/ R$ W2 g& B' E+ M# v
  1780. ; otherwise output encoding conversion cannot be performed.
    " N3 O) D# R8 V7 J8 L2 `
  1781. ; http://php.net/mbstring.http-output
    1 o/ P" v$ z, P) G, E5 N  ^1 I+ ?
  1782. ;mbstring.http_output =& e/ M8 b) v2 M  _9 {
  1783. $ q' ], U; B1 t, @. R/ m3 x
  1784. ; enable automatic encoding translation according to
    - Z7 l) f  C! a+ t% s6 J; c
  1785. ; mbstring.internal_encoding setting. Input chars are2 k% V1 e, J# [( H8 z
  1786. ; converted to internal encoding by setting this to On.
    ! }2 c! s; h& u7 C' \7 w
  1787. ; Note: Do _not_ use automatic encoding translation for: D& Z4 y2 b/ f
  1788. ;       portable libs/applications.6 R* c6 b7 ^" i5 k0 I2 ^* Z2 J
  1789. ; http://php.net/mbstring.encoding-translation
    $ h% L: M3 Q5 U$ U8 T
  1790. ;mbstring.encoding_translation = Off
    * T  p8 I; e8 a
  1791.   \+ c9 [% N- B8 B" `
  1792. ; automatic encoding detection order.# m4 U1 }. f8 n& B1 g/ f* l; H8 U
  1793. ; "auto" detect order is changed according to mbstring.language
    6 Q8 R& I  x/ l+ @  w
  1794. ; http://php.net/mbstring.detect-order
    ( B: t( ~, q( n* Y6 |) d
  1795. ;mbstring.detect_order = auto
      V; ]1 g# f, w0 q4 `
  1796. ) Q  U# W. ?0 x; i, s6 S
  1797. ; substitute_character used when character cannot be converted5 i3 f+ c. q* a
  1798. ; one from another
    , u3 I7 B9 b, \6 O6 r* Q
  1799. ; http://php.net/mbstring.substitute-character
    ) |( w  R8 p) ^6 u
  1800. ;mbstring.substitute_character = none: c! i5 O" E. w/ N) u" ^+ Y, l9 f
  1801. ; c% J5 L( N/ v. X% W6 ?
  1802. ; overload(replace) single byte functions by mbstring functions.
    5 |5 p, f4 q. \9 s, _# m' h
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),! @8 H0 Q- Y+ l
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.2 \) @; O* W% C# v0 T  j+ j4 C
  1805. ; For example, 7 for overload everything.- ?/ g" C/ m0 b( ~, Y4 N
  1806. ; 0: No overload
    5 ]5 Z1 b/ R: R( t- A; R
  1807. ; 1: Overload mail() function
    % U, N9 c9 N* |& F3 s% E
  1808. ; 2: Overload str*() functions
    ; a3 @4 N8 Q' G- _
  1809. ; 4: Overload ereg*() functions
      u. W0 p  n3 B6 G/ E
  1810. ; http://php.net/mbstring.func-overload
    . v. j5 W. S! m6 l  F
  1811. ;mbstring.func_overload = 0
    ) o6 \+ e, [5 g5 L4 |

  1812.   b4 p1 P$ G* P- s  M( T8 v
  1813. ; enable strict encoding detection.
    " u( c; _  |& r; v
  1814. ; Default: Off
    2 P: y6 Y' a! g% b( s/ x( g' X
  1815. ;mbstring.strict_detection = On1 \/ N0 Z4 I' g- Y% u" u1 n" @7 y

  1816. $ P, _1 b. o" @% s5 |& r
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()9 d6 s+ ?5 t) o/ @  q
  1818. ; is activated.
    ) z* ?0 e1 Y' J* [9 T
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    : V7 ]# M! F7 v( g
  1820. ;mbstring.http_output_conv_mimetype=. C5 J( e9 Y/ L3 C) B
  1821. 4 f# X$ C$ d3 P- s) ^8 S" ^
  1822. [gd]) Z( x7 O. g4 q# |0 O, H9 R1 I. ?
  1823. ; Tell the jpeg decode to ignore warnings and try to create/ y/ K! Y0 B2 ^( u4 f! }+ u
  1824. ; a gd image. The warning will then be displayed as notices" b% S% G! n0 y5 X% R
  1825. ; disabled by default
    6 U* H, _/ d' j: j+ n4 ?' I
  1826. ; http://php.net/gd.jpeg-ignore-warning
    / d) z$ @" x+ U' w
  1827. ;gd.jpeg_ignore_warning = 0
    1 `8 L8 Z+ t" m2 [& s
  1828. ' h2 G( H1 I$ a7 P/ |# E7 D( @
  1829. [exif]9 A+ M9 j  e9 U2 _# x" R6 h7 |
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., a  p5 G$ \8 v7 Z- t
  1831. ; With mbstring support this will automatically be converted into the encoding2 [. e# I" F1 |) ]3 L) @% E
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding( d5 l, ]+ T; p  e: `( u' B
  1833. ; is used. For the decode settings you can distinguish between motorola and
    2 e4 G" ?* i+ R3 U- c% `7 M7 {
  1834. ; intel byte order. A decode setting cannot be empty.- |% d5 H) O: q: t& ~6 z
  1835. ; http://php.net/exif.encode-unicode
    ! B5 |9 ]% s6 F: L# b5 {
  1836. ;exif.encode_unicode = ISO-8859-15
    + j$ o' @) P2 F2 f# ~& p

  1837. + q6 I8 q& @8 l$ j+ ?% z
  1838. ; http://php.net/exif.decode-unicode-motorola
    , Z# s# G+ `! Q  W
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    + z$ @& h6 t* @! O- b
  1840.   n5 U* C1 X0 r5 o  W
  1841. ; http://php.net/exif.decode-unicode-intel  J4 c9 S9 A) h7 L# j2 \* r
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    0 z4 Y$ |, p  U

  1843. 7 J! X% P; P' O3 ^/ z4 g" k2 i# C
  1844. ; http://php.net/exif.encode-jis
    . e6 m: g) x& l4 J% Y' _3 Y* V) ^
  1845. ;exif.encode_jis =3 w' j3 t! B: |) |( ]& O9 Y/ S

  1846. . J' x) d; S5 h( F) h$ G- P9 Y
  1847. ; http://php.net/exif.decode-jis-motorola
    4 I. ~4 s" \/ M7 r6 h0 u; `7 d, c
  1848. ;exif.decode_jis_motorola = JIS
    4 v" @5 h* B% \' X( o6 D
  1849. % Z2 T. F. y1 a  _6 o5 y1 `( z' i
  1850. ; http://php.net/exif.decode-jis-intel" H' ]4 K* \) P
  1851. ;exif.decode_jis_intel    = JIS
    + V& P7 K) m/ M( C- F0 S5 t* T
  1852. & {2 @6 e) O7 Q  Z
  1853. [Tidy]* |- y  u- G* c) K, z/ F
  1854. ; The path to a default tidy configuration file to use when using tidy
    9 q" j) T, J: q; ]7 T% [  }
  1855. ; http://php.net/tidy.default-config1 |# C( k- H0 ?+ l) b" x
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg% B) G5 U% z+ V( F

  1857. 9 \8 w- p4 P% b: V' S+ m- A( }1 S
  1858. ; Should tidy clean and repair output automatically?* H  G4 H" D. f6 h
  1859. ; WARNING: Do not use this option if you are generating non-html content7 B3 v3 j/ U& u. i
  1860. ; such as dynamic images2 Z1 N8 L* _0 b4 Z& G8 K
  1861. ; http://php.net/tidy.clean-output& w% t& U2 _! x& d0 K; n
  1862. tidy.clean_output = Off& ?- @, L+ F: D( a/ U/ H& t5 y

  1863. ' F' J  n/ y7 J# {& B, l' ~
  1864. [soap]
    5 W0 ^5 _, _2 n- W5 K! c& f
  1865. ; Enables or disables WSDL caching feature.
    2 f% N. B! `( s, Y$ w
  1866. ; http://php.net/soap.wsdl-cache-enabled
    6 \/ J% ?& p' _. `+ w9 m/ r( ^
  1867. soap.wsdl_cache_enabled=1. H% O/ j9 v& d) S5 R% d3 e- ?
  1868. # w* m' [  [- W  I0 b0 E2 Y! ]
  1869. ; Sets the directory name where SOAP extension will put cache files.5 [7 ?7 c5 n1 N$ ]
  1870. ; http://php.net/soap.wsdl-cache-dir4 S. U* l9 a% x. O9 k
  1871. soap.wsdl_cache_dir="/tmp"2 g+ C" O9 b) n& J: Y# n; E4 d

  1872. - b1 j4 u0 }5 |3 N; J
  1873. ; (time to live) Sets the number of second while cached file will be used
    ; m& l% C; ^0 w! ^+ j! c
  1874. ; instead of original one./ D1 I' r, S" q) Z! E$ F7 Q- V% a
  1875. ; http://php.net/soap.wsdl-cache-ttl
    4 k  o! b* q4 c9 r
  1876. soap.wsdl_cache_ttl=86400" f( T, Y9 D( D
  1877. # w: l$ P7 u3 o: E0 K
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 U7 J& L1 h* S/ h+ t% K' {0 T
  1879. soap.wsdl_cache_limit = 5
    $ Z$ {- x3 u, s5 M0 \  |4 N5 R! B
  1880.   C6 p( y" _, q5 ^0 N
  1881. [sysvshm]
    & S% G# w/ `, d* C  w2 v% @) j
  1882. ; A default size of the shared memory segment
    ; r* Q3 p4 `# O+ b
  1883. ;sysvshm.init_mem = 10000
    : E0 k4 R, q& y( U0 j5 @8 i
  1884. % ]4 N% B! @+ R
  1885. [ldap]
    0 w) F( f/ z. \- p
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    : r- G6 ~% X& j/ u; d
  1887. ldap.max_links = -16 T3 C5 s0 a. t; ^
  1888. 0 |; b  m( h- w: D( i
  1889. [mcrypt]
    . m# [0 B) A6 \0 p; k
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ) K7 n/ ?4 F% P4 O

  1891. , }# X/ ~" d7 ]
  1892. ; Directory where to load mcrypt algorithms
    ; S) M" U- b3 n' p2 ]- L' M
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' J' \( r! X6 h
  1894. ;mcrypt.algorithms_dir=
    . r0 ?) `9 M2 x8 {7 \# }- G. Q8 Y7 r, ~
  1895. 4 |( F1 `+ Y) [3 y% B
  1896. ; Directory where to load mcrypt modes0 Q% K5 {! G: _/ j1 k" u
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) X3 S( x  S: W
  1898. ;mcrypt.modes_dir=+ _* i* X  L/ H& O

  1899. 6 k3 p9 Y! N, i9 _3 ~) f
  1900. [dba]- E, e5 Z# {; r8 V3 h, ], o
  1901. ;dba.default_handler=
    $ p) @' M  W* ~9 s/ j, j
  1902. * \9 a$ s) E6 [' j% u
  1903. [opcache]
    : v! Z9 A, @% D7 M. _9 I8 X$ U- d
  1904. ; Determines if Zend OPCache is enabled
    9 h! Z9 ?" W4 k, [( B
  1905. ;opcache.enable=0
    * d* T* i* I+ o0 d/ q

  1906. ! n& L3 d( _$ L1 l0 A  a
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    4 D6 K  e; i6 o' D3 [
  1908. ;opcache.enable_cli=0
    4 j$ I( \2 q# @  Q
  1909. 2 g8 w! [) T* k7 q! x
  1910. ; The OPcache shared memory storage size.
    % C, z  v( T& h2 ?0 D. W
  1911. ;opcache.memory_consumption=64
    ' q0 a7 u" L, p% v
  1912. * H; K  [$ w9 G( F$ ~# h" Y
  1913. ; The amount of memory for interned strings in Mbytes./ @- c+ E1 o4 c' m$ X  F" e
  1914. ;opcache.interned_strings_buffer=4
    & _% k( @  t; V$ b- ?; B4 r) Y

  1915. * E3 g% b* Q. q% Q
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    4 h4 v' [  D0 l- b, B  ~$ o0 P
  1917. ; Only numbers between 200 and 100000 are allowed.
    ) ^7 ^, q) y3 T$ V" ~
  1918. ;opcache.max_accelerated_files=2000/ q0 G; E% |# J; \9 m
  1919. 3 _$ Y; O/ e6 l# Z0 j! G9 E6 R
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.3 y+ T) L& u6 ^" E! |& b* j, v  o
  1921. ;opcache.max_wasted_percentage=5
    3 S- p( f1 J2 g- b) r% P

  1922. / C3 ~, _$ {5 N. J
  1923. ; When this directive is enabled, the OPcache appends the current working* Q$ ^# Z0 J. K% c/ V: O& K
  1924. ; directory to the script key, thus eliminating possible collisions between
    6 Y& Y/ Z9 g" J' C! n: x" q3 m
  1925. ; files with the same name (basename). Disabling the directive improves: I9 V- d0 P9 B" z$ @
  1926. ; performance, but may break existing applications., o, h1 }8 F& z2 v5 M/ [$ M
  1927. ;opcache.use_cwd=1& X" z0 t- M+ s9 r! q" z% K
  1928. 1 Y8 L, z2 A! L: U, E' y# m
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ' ]2 w. M1 ~. u3 d7 b
  1930. ; webserver for changes to the filesystem to take effect.
    & ~$ D& T4 A+ O1 L1 A% Q9 R
  1931. ;opcache.validate_timestamps=1! o: I5 u0 ?# `
  1932. % E5 |$ |7 `+ i% N
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ( M- f! W5 G6 K$ N9 \
  1934. ; memory storage allocation. ("1" means validate once per second, but only8 V2 t" o; v5 }. k/ Z
  1935. ; once per request. "0" means always validate)
    " ?  m3 Y+ V$ d
  1936. ;opcache.revalidate_freq=2
    0 u! }3 N: Z* ?; o7 q) a$ e: b

  1937. . Q" A* C. A5 z
  1938. ; Enables or disables file search in include_path optimization
    : ^. L8 W* m4 B1 {3 Y, r4 b4 h
  1939. ;opcache.revalidate_path=0
    + Q/ Q: ?9 u. w  P3 D" w

  1940. 3 W+ R6 M0 ]2 T: E& a
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    3 f  I4 c3 k6 x9 D/ V& K
  1942. ; size of the optimized code.
    7 S# y* D2 ]# q5 @
  1943. ;opcache.save_comments=1, ]: y' I' V4 |$ A
  1944. * m" S9 a7 x7 B& D
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ) c1 d/ ?1 H! x6 r8 B0 d( P
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    6 {4 J4 j. K" {% u2 `: \
  1947. ; that don't need them anyway.
    0 B/ U; ?$ q" t! U
  1948. ;opcache.load_comments=1  |: o1 y. H* y0 X% a

  1949. - C5 U8 b' u& D4 E! N0 c/ y( U3 D
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code7 k2 N, F" n7 ~; @
  1951. ;opcache.fast_shutdown=0
    ; N3 ?9 B( l2 M% e' b. M( E

  1952. 6 Q! M2 e8 v5 N# ~) b% E
  1953. ; Allow file existence override (file_exists, etc.) performance feature.* j+ [% p& a0 y) a5 c
  1954. ;opcache.enable_file_override=0# V4 c/ N+ W( \4 E) X

  1955. ! m- S2 k. ]0 P
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    / M4 F0 J4 h  P! }
  1957. ; passes) m/ {- O' x+ m& o, H
  1958. ;opcache.optimization_level=0xffffffff: y/ e5 K! b5 f7 ?" W4 Q" `

  1959. 5 W) t6 f, Q3 M1 B; _# _) Z
  1960. ;opcache.inherited_hack=1% y) B6 e4 f: D9 W3 c
  1961. ;opcache.dups_fix=0( [* m; ^0 i1 \$ W: M/ c7 p
  1962. ; K6 ~8 d6 x+ ~+ b$ V; j% t% x- e
  1963. ; The location of the OPcache blacklist file (wildcards allowed).+ G$ J* F0 b* \# I; ]8 R5 p" s' W9 e
  1964. ; Each OPcache blacklist file is a text file that holds the names of files/ d8 }" n+ I+ Y  C# D" d% G
  1965. ; that should not be accelerated. The file format is to add each filename
    0 o4 ~8 }1 F7 D3 ^5 P% J: }
  1966. ; to a new line. The filename may be a full path or just a file prefix1 s1 U- y- W0 A% @; g6 N5 n
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www, ^% }- E8 e+ m' {! N4 c3 m5 Z
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).3 V: q( c; L6 b( l0 @
  1969. ;opcache.blacklist_filename=
    & M) m( K. C- b( t, Y5 R0 q2 F) e

  1970. 5 K" F6 r# P) }! I
  1971. ; Allows exclusion of large files from being cached. By default all files; p; B0 x& v7 q) \* g5 F! l5 x
  1972. ; are cached.
    9 I4 F( j* i" h4 D/ `3 l7 U
  1973. ;opcache.max_file_size=0
    3 ~- b! @) h  L; D% @8 [( T% v3 a
  1974. 2 W- }. {" K1 Q% E" \# n1 _6 q
  1975. ; Check the cache checksum each N requests.
    & _8 u1 S  e. \7 G8 a/ ?$ e2 B
  1976. ; The default value of "0" means that the checks are disabled.
    ! r" x. f2 E$ M5 C8 F( i& G
  1977. ;opcache.consistency_checks=0
    7 J0 `/ [0 M' |
  1978. - N& B/ h+ j5 y- z+ l
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache8 l( Q: G( Q) b4 ?1 b- R( U" h
  1980. ; is not being accessed.
    ; o! ]$ `( T# f$ k4 Y) D
  1981. ;opcache.force_restart_timeout=180
    2 O/ X. M6 B1 O% F! Q6 p& x

  1982. " s/ Y# H7 y0 n: Z& a, z2 I* |1 y
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ) D9 n6 N7 _/ F8 H/ N
  1984. ;opcache.error_log=
    ( q% @0 ?* D2 j2 |+ a, S1 v# @
  1985. " B7 Q& O& W4 F* z  D: W
  1986. ; All OPcache errors go to the Web server log.
    7 d  T: N( N" }$ Y- v# ?0 t
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* ~9 Z+ y/ b5 `# ?+ k
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
      v& a; q* s$ @1 N  o
  1989. ; debug messages (level 4).
    2 h1 r: o  \, p. g
  1990. ;opcache.log_verbosity_level=1
      W* O, Y' d% q
  1991. ' }2 O) ]$ S0 ~2 _2 |) v
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    # n+ i4 T0 O! y2 L
  1993. ;opcache.preferred_memory_model=. A; I+ b; f: A( y3 |

  1994. / O+ T" }* x2 V- R- a6 n, B
  1995. ; Protect the shared memory from unexpected writing during script execution.) [( C9 n3 t$ D$ \) r
  1996. ; Useful for internal debugging only.
    ; E5 M" }4 ^: D
  1997. ;opcache.protect_memory=0
    - p/ v4 y" R$ h" _+ ~) q

  1998. ! A0 ]3 P5 ~: a# Q1 h2 }- |
  1999. ; Validate cached file permissions.
    ' r+ n' |- x2 ]3 E1 ?% n/ n
  2000. ; opcache.validate_permission=06 T2 h! L; R. Z5 i

  2001. * a$ t- w+ e! G4 I  g6 ]4 p
  2002. ; Prevent name collisions in chroot'ed environment.2 F6 z- @+ w5 u/ E8 p5 o' _' A% x
  2003. ; opcache.validate_root=07 w7 @; \8 o' G8 a( B, j% e: D0 c1 `
  2004.   U- R" S7 e& L  {& G7 L
  2005. [curl]
    6 D- d1 _" u' N3 N4 Y5 w
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an& J: \3 n/ }7 {7 [2 }# @
  2007. ; absolute path.
    ; i* k: D( ?7 ?, t# }( h7 @
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    9 y, G* ?7 i, ]6 W% O

  2009. , R1 x# H9 X9 s, K: t& l
  2010. [openssl]% D2 ]# O0 G* O! \0 o' O8 M
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem/ B7 i% |+ b$ O2 A& u2 {! W
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    / {7 D2 W0 m3 Y- f3 S& }1 \
  2013. ; not specify a value for this directive as PHP will attempt to use the
    4 n9 o. [1 n; b$ H) ~+ t8 E
  2014. ; OS-managed cert stores in its absence. If specified, this value may still8 r) T' s5 o  {7 a8 V. x
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    + L+ N) s( p, `* T3 @  W' F
  2016. ; option.
    ! o+ t' n0 n5 Z  U5 k: _
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt2 R+ X% s( t* m! }: n
  2018. , ]- }6 ]; K2 Y9 r( j
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the! c% a9 f9 h0 P5 q  k& L5 R4 B
  2020. ; directory pointed to by openssl.capath is searched for a suitable- H% D3 ?% D3 n3 y4 k" l" {- z
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ) E" w: }" w4 ?! [. ]
  2022. ; Most users should not specify a value for this directive as PHP will
    6 q2 i( h' y1 x6 P$ c: u" A
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,+ N. t! x6 y; \" e
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    % Q! N& ]7 j0 \% l
  2025. ; SSL stream context option.0 ]) @) j/ e4 ^% Z3 X% N
  2026. ;openssl.capath=$ @! X0 `2 a, X
  2027.   x$ g7 ~9 S" _9 H- D
  2028. ; Local Variables:
    9 ^+ d) n$ V. Y6 F7 Q/ Q1 g
  2029. ; tab-width: 4* \3 O6 g# @" ^) R& E, r  X
  2030. ; End:
    9 a/ ]6 |  |9 ^' O) H
  2031. % m4 S7 |* Y, d; J
  2032. ;eaccelerator# \) p% j$ Z6 `. Y  c

  2033. " h* `6 q' W6 N8 }
  2034. ;ionCube4 T$ [6 B/ i( L8 T
  2035. 8 ?6 {0 j, f2 ^
  2036. ;opcache  u9 K& t4 C% [

  2037. 4 X+ c. W' W) q$ ~* }
  2038. [Zend ZendGuard Loader]
    + T' l, k" z  ]6 [  \4 c+ x
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    + R; G6 N7 O; k5 J+ d5 w5 ^
  2040. zend_loader.enable=1, ~+ J8 T  }5 k7 _
  2041. zend_loader.disable_licensing=0* Q: M# G; t- ]8 Y2 v
  2042. zend_loader.obfuscation_level_support=36 o8 q9 }$ o2 Y/ x' v( K
  2043. zend_loader.license_path=/ c4 }5 @$ o1 q! x3 p9 \! b! A* f) Q6 d

  2044. 1 l0 V2 k6 _+ F) E" \6 |; J; u3 M' |1 h
  2045. ;xcache
    $ C0 A8 f8 i% k2 I

  2046. . ^9 C( [+ Y8 B7 f6 |5 m% B7 `# e5 x
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
0 w+ [% B1 O: w/ G/ g* Y
; |; j6 {0 W' Y+ y5 W" h  a* x" z) W7 r( w; O* D7 T
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,7 u( E* L0 e/ O* M
9 b$ ]9 l+ ]# N
Discuz!程序版本选择:; Q% Z3 h) P$ F6 u, S( R. _
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,' s7 r" `' [4 L3 f- n* e+ G0 u8 U
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:: ^; ]  `& o1 ^) [
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。, a  e# j! V5 w" q

. u% O  u+ X2 I& @$ WDiscuz!插件模板版本选择:
- g4 b& d+ J! s7 V很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,1 }5 y5 ^% q% p/ y4 s* s7 w
针对这个问题做个统一的普及:
, [7 L7 s; h# YX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
, t8 k+ P3 e. x# a& T% D! V
4 t. P& j8 C, Y. t所以
; }  L+ P) C  {- k9 n3 N. L/ G适合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的二级域名。1 v. i) R8 j% \
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
' K! y' k3 U2 c6 Y注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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