分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0, `5 a( g& l0 r$ w( |- g+ _2 }3 }

* X9 d; S3 C" z  R: O
  1. [PHP]
    & r/ e- g; I; T' N# P8 h
  2. , n: F! @: b& x* m
  3. ;;;;;;;;;;;;;;;;;;;, r" }1 [+ G7 P
  4. ; About php.ini   ;; \6 q9 M+ ~( ^1 k2 A
  5. ;;;;;;;;;;;;;;;;;;;
    1 i9 I2 l7 `# @+ O
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 m% q: j  b" A
  7. ; configuring many of the aspects of PHP's behavior.7 N* ^1 m1 w6 c, X
  8. , R+ j& j! I7 T
  9. ; PHP attempts to find and load this configuration from a number of locations.% C4 `6 @/ M7 {) E
  10. ; The following is a summary of its search order:7 B' }" }& c  _, b$ h7 |( d0 n% q
  11. ; 1. SAPI module specific location.
    7 i. O0 G* J9 Y! D9 p" K9 [
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    - [  o: v& f8 F4 }, b
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    5 U/ m% c' d; u% R  z3 l- K
  14. ; 4. Current working directory (except CLI)
    ; @$ u! x1 ^7 l( _$ \/ U6 ~0 Q# T3 D, `
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP/ f. _, I7 y1 O# Z( p" |& b$ r' ~
  16. ; (otherwise in Windows)
    ( K9 s  X+ a: `: K/ E) a
  17. ; 6. The directory from the --with-config-file-path compile time option, or the* O6 e" B' o3 z
  18. ; Windows directory (C:\windows or C:\winnt)! n4 \- J& t# v. u+ T" b) [
  19. ; See the PHP docs for more specific information.
    7 M) A' g7 Z1 x$ Z8 C+ U8 X8 F
  20. ; http://php.net/configuration.file0 y0 J& s4 Y% N2 o/ C' T

  21. 6 c* E$ d) T$ V& [* i, F- Y3 Y7 y2 N
  22. ; The syntax of the file is extremely simple.  Whitespace and lines( B9 S: B4 ~1 n' T, V
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)./ [+ K! A: t0 M  N, L! c# G- Y8 Z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    5 t$ a  d1 e% U" l/ D
  25. ; they might mean something in the future.' i, @/ ?  l* ~1 J- @. r

  26. ' N4 c/ F2 l' [
  27. ; Directives following the section heading [PATH=/www/mysite] only
    , Q) I# C7 N, q) b" G, I6 p
  28. ; apply to PHP files in the /www/mysite directory.  Directives* s  P( N" R; B' v" V7 [
  29. ; following the section heading [HOST=www.example.com] only apply to
    * s7 k% \# \" _
  30. ; PHP files served from www.example.com.  Directives set in these
    $ y% C" |, ^4 K: a. A
  31. ; special sections cannot be overridden by user-defined INI files or% X" T. p% X" S- U2 f  ~; S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under8 l% o: X7 D( `& b8 b) e5 I
  33. ; CGI/FastCGI.
    - B$ v) U) H" i. I) Z/ B3 R0 ^
  34. ; http://php.net/ini.sections
    ' ?- v/ y4 n! B7 S4 ?
  35.   o0 b9 g" ^  w- o/ o
  36. ; Directives are specified using the following syntax:: L1 [1 _6 J$ v- R  I! `
  37. ; directive = value
    " }' E% l% K( ^7 U) k
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 }" v1 Q" k1 W& C
  39. ; Directives are variables used to configure PHP or PHP extensions.' j, u! u* U4 Y' ~
  40. ; There is no name validation.  If PHP can't find an expected1 _0 j) R. N% ?) @( s0 D- z2 I
  41. ; directive because it is not set or is mistyped, a default value will be used.
    6 s3 t) ^1 J  w/ G# y. \
  42. . f. M1 P; G2 j& q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one3 O2 v8 f; _7 f" w
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression% J! r* t0 D. N2 V/ Q# S( v. t" Q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a1 X- r; Z1 e* X: t: b
  46. ; previously set variable or directive (e.g. ${foo})4 S8 T0 M8 N( ?

  47. ) a" X- L5 \4 k- U5 V3 m9 V
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    9 B, F8 q3 _5 m: M- F$ X6 a
  49. ; |  bitwise OR: T( p4 N# U3 m: N3 N0 J
  50. ; ^  bitwise XOR
    " {9 V# v: b7 c8 I! D. G, T3 A
  51. ; &  bitwise AND
    " t: R4 C) L: w: b( {0 Y, s: E
  52. ; ~  bitwise NOT3 ?/ I$ \* R4 J% g3 `. L# E! A6 U
  53. ; !  boolean NOT
    ; a9 D, s9 _) G6 t- S' W/ `

  54. 4 h$ j) b5 |; ]
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    1 ~: v1 S$ f) g. Y' o  D% }
  56. ; They can be turned off using the values 0, Off, False or No.# A% O6 U/ f" j; a

  57. ( D. O, c2 l; n# T; V
  58. ; An empty string can be denoted by simply not writing anything after the equal% l) u6 c8 [; o$ |# O- J
  59. ; sign, or by using the None keyword:
    * l! u. I3 n" ^' G0 [5 v
  60. ; h$ h7 P: M$ m1 k  b. L7 I
  61. ;  foo =         ; sets foo to an empty string2 S. V- E3 W1 |6 L+ M5 P
  62. ;  foo = None    ; sets foo to an empty string
    5 d4 _) P% H. k5 L
  63. ;  foo = "None"  ; sets foo to the string 'None'5 o6 L3 W& ^- z' \, e. c& z

  64. % o# @- T: a' Q* p  p/ V
  65. ; If you use constants in your value, and these constants belong to a
    5 f& L' L1 D1 O, P
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    0 P4 i  V1 ^9 ~2 @
  67. ; you may only use these constants *after* the line that loads the extension.7 P/ N* c" G9 Z9 j7 j8 B' _
  68. 6 r0 }) j2 ^& m% d2 u1 Y
  69. ;;;;;;;;;;;;;;;;;;;
    & F, ~5 s& A1 @+ n7 B* j* X
  70. ; About this file ;, b" \+ Y2 J/ m2 m  B
  71. ;;;;;;;;;;;;;;;;;;;% Z" g/ ?' ]% I9 M& _
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! k7 X  P) F' t+ t4 s
  73. ; in production environments and one that is recommended to be used in/ O% _: ^3 u$ u  d
  74. ; development environments.  d4 E0 w0 n  ]4 f  a

  75. 7 F0 Z# ^8 ~; i2 F
  76. ; php.ini-production contains settings which hold security, performance and$ M4 ?( \" ]% V/ `, U0 _, F
  77. ; best practices at its core. But please be aware, these settings may break
    * {( ?: o% s8 c6 h: @* R7 r
  78. ; compatibility with older or less security conscience applications. We9 h& f) E) [- M& H) p: c* H- o
  79. ; recommending using the production ini in production and testing environments." N5 n3 P& Q) o% v* F
  80. 8 V3 l: h- N9 y$ e
  81. ; php.ini-development is very similar to its production variant, except it is6 S$ _( w+ K) _2 v- k
  82. ; much more verbose when it comes to errors. We recommend using the
    ' t/ [. L4 s. n+ W! O
  83. ; development version only in development environments, as errors shown to
      ?2 L  l# j: b+ C7 I0 z! s# c
  84. ; application users can inadvertently leak otherwise secure information.
    . M2 S5 m/ t. q8 E' a5 @' j
  85. & ?7 _. ^# o* R1 ?* V
  86. ; This is php.ini-production INI file.' W' N& ?  |5 W- {9 _; \3 g- s. G

  87. ! S" _$ f% C9 b5 E# G6 z7 x
  88. ;;;;;;;;;;;;;;;;;;;$ D; w1 A, U8 m
  89. ; Quick Reference ;
    ( ?& }/ T+ k0 d6 a3 l- i) e* D
  90. ;;;;;;;;;;;;;;;;;;;
    $ w% u+ g3 E% e; u$ S
  91. ; The following are all the settings which are different in either the production
    % Q/ x7 r8 V+ ?, N$ n  u
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 l* {1 X5 T6 v9 I' \7 {! O
  93. ; Please see the actual settings later in the document for more details as to why
    3 o7 j+ |: I- b4 D
  94. ; we recommend these changes in PHP's behavior.
    6 P2 w6 {8 B# Q8 |
  95. " |  f& L4 s) {: V
  96. ; display_errors$ }$ q7 G- c: ?: N' F0 c/ u; L
  97. ;   Default Value: On( p2 _$ Z2 z) F" \  P1 \# O
  98. ;   Development Value: On4 ]# y6 |& [5 v
  99. ;   Production Value: Off! t/ O$ j+ n! o0 L* f2 v( z4 ?- K

  100. % y7 t/ }0 ?) M0 P
  101. ; display_startup_errors
    & q5 Y% T/ a: C
  102. ;   Default Value: Off7 S; a" }! e& I2 W- t5 J
  103. ;   Development Value: On
    0 R' ]' u2 ~3 V$ e; Y9 b0 O
  104. ;   Production Value: Off2 u7 t# Q8 d4 r
  105. : c9 o. d7 U8 \$ j& I- Z! w/ W
  106. ; error_reporting
    . R8 U2 I! M. H: r* g9 h" M, L
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 Z8 l6 h8 W( N, ?" U
  108. ;   Development Value: E_ALL
      b0 u+ W# c9 T, i
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 r2 `$ H9 q0 R
  110. 7 ~5 C* u0 u+ W; ]. h5 ~+ J
  111. ; html_errors9 E; Q& D! Y9 n8 G, m# ]
  112. ;   Default Value: On1 @8 P0 |* X/ ?5 r8 D
  113. ;   Development Value: On
    ' `$ x7 H0 B, W8 W
  114. ;   Production value: On) h& b% m$ _0 @$ @

  115. ' Y$ O! Y: n+ C4 C; ?
  116. ; log_errors+ v1 q! I" r, s/ O: _. x0 L6 E
  117. ;   Default Value: Off
    1 U0 D1 \# P- Z3 {1 o& Y' y
  118. ;   Development Value: On+ b# Y% e  ^. [3 W8 ?
  119. ;   Production Value: On% q- G& P+ L  c/ r6 l9 O

  120. ( z9 i! X/ \$ `8 s
  121. ; max_input_time+ p! L: m' e% `8 X/ H& N# L+ q! k
  122. ;   Default Value: -1 (Unlimited), W" l% m' i( T% N: w8 V9 U
  123. ;   Development Value: 60 (60 seconds)5 J. C, Y- q$ _" c' y# y* r
  124. ;   Production Value: 60 (60 seconds)+ Y: w( {* u6 r2 S, W5 Z

  125. 5 H3 u/ G0 Z5 P- y: m* ^6 M
  126. ; output_buffering
    ' F# Q2 {  N9 U; y/ ^, }( V
  127. ;   Default Value: Off
    7 Q. L# O7 A" l) I
  128. ;   Development Value: 4096! h; `- O- r$ x* G$ h- b
  129. ;   Production Value: 40966 |8 }, [9 {4 h' i* e6 Y: V; E& @
  130. 3 o$ B5 z5 c- Y! B; p; ~
  131. ; register_argc_argv1 p+ I4 E" O" h/ S8 h% r6 f
  132. ;   Default Value: On
    5 _1 n" [$ p, a7 s. H* w/ K+ t( X
  133. ;   Development Value: Off3 S0 K& D* M) U$ A& G% y' [
  134. ;   Production Value: Off
    6 K7 O( I3 [0 ?

  135. 6 F6 @- P' E4 z5 v5 u4 X
  136. ; request_order
    7 T2 b. ~8 p% ^
  137. ;   Default Value: None
    ( f& x3 f8 m4 X
  138. ;   Development Value: "GP"
    3 h- i8 Y% K2 r! t8 k$ U4 O
  139. ;   Production Value: "GP"
    " T! I6 [3 a# o" ^1 O' [
  140. 6 S6 t  Q6 ]/ Y/ E+ _1 R
  141. ; session.gc_divisor
    9 N  Y7 }, ?6 s" d
  142. ;   Default Value: 1008 ~- z% }) s1 i1 b" T5 n/ w
  143. ;   Development Value: 1000, h; H. p, F( J+ a$ m' d
  144. ;   Production Value: 1000
    9 H2 |; n$ z% R0 ~2 S9 Q

  145.   H! T4 ^1 x1 Y: R7 q3 L) Q5 l
  146. ; session.hash_bits_per_character
    ' A0 H* d4 M  O4 K/ ]. Y- p
  147. ;   Default Value: 4: X- Z2 V4 I) k, h
  148. ;   Development Value: 5- _, q5 Z0 n: m. u
  149. ;   Production Value: 50 p1 G" m8 ~/ F2 ^+ M) v

  150. ; F5 d3 ^% {- C) x8 K2 U/ x
  151. ; short_open_tag
    # E/ ]2 b8 b* T0 L& g( |- A0 h: I
  152. ;   Default Value: On
    0 Z! X% R- ]+ j2 S  i! ~& k+ z
  153. ;   Development Value: Off
    ' l3 \4 x3 f! h
  154. ;   Production Value: Off
    : n3 A7 }8 b% Y* ~) r4 S
  155. ; |+ G, E4 `/ Y, R2 W+ S) M' J
  156. ; track_errors
    : i9 X( u1 M+ Q& {3 Y6 i- J% Y
  157. ;   Default Value: Off$ g: ?. m* I% g( c& I
  158. ;   Development Value: On
    - M/ T6 P; W6 N8 E
  159. ;   Production Value: Off
    % f7 G1 K1 i% ~0 S

  160. . d7 S! o; Q/ ~$ S6 d
  161. ; url_rewriter.tags" A! R. D5 x8 O- t
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="& d  \0 ^  g" D, h1 d: v, k
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( f5 ^3 a1 `" [3 }) r" q& Y6 ^
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", t+ ^5 S  O5 G6 h$ A2 L
  165. 8 w% A% ]; b8 X" J' M7 l
  166. ; variables_order
    ) L! [, @9 Z2 H7 o3 g
  167. ;   Default Value: "EGPCS"# R9 i% ~2 X! [& F/ x
  168. ;   Development Value: "GPCS"  |/ P7 F& g+ L7 P; c
  169. ;   Production Value: "GPCS"
    ' F# f3 u* s$ j9 Y- z, m: ]
  170. ; G  [2 w; {' }( ^- O3 ]4 `
  171. ;;;;;;;;;;;;;;;;;;;;: p; X4 I# V+ y6 h' ?) T6 _! k3 P
  172. ; php.ini Options  ;: A9 N9 `6 u6 {  k& p- G
  173. ;;;;;;;;;;;;;;;;;;;;
    1 q2 r* }- M1 e$ O$ ~
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"; ^, a- k- Z; O; \: f8 I- p/ g
  175. ;user_ini.filename = ".user.ini"
    : e7 L$ M+ @; S4 R- L

  176. . j% x4 C" o6 N9 }4 n4 t
  177. ; To disable this feature set this option to empty value1 l7 l9 m5 M2 S! B) o- n
  178. ;user_ini.filename =9 M# Y- y8 m# C: O3 w5 F" F
  179. . F" L% ]: B7 T: z% I0 H
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    # y* U9 r: n1 H# \- p
  181. ;user_ini.cache_ttl = 300
    - E0 v5 {: p- C, q( B
  182. 3 G7 h7 q5 [4 A5 v# X5 x; w
  183. ;;;;;;;;;;;;;;;;;;;;# b$ c. J* |3 e. ]
  184. ; Language Options ;! A+ r8 l) [8 H6 C1 p4 E/ @
  185. ;;;;;;;;;;;;;;;;;;;;8 y) y, N" U& ^4 o$ [: V
  186.   f  ]/ v$ t* C
  187. ; Enable the PHP scripting language engine under Apache.
    * m3 V; a1 Z8 M4 m  v
  188. ; http://php.net/engine5 z/ i# f  s' w" H: e7 n/ R
  189. engine = On' x3 k5 o6 F  u" f+ @

  190. 3 [- Z. p* D( N/ I& c+ T: x
  191. ; This directive determines whether or not PHP will recognize code between
      a, t3 g2 _# L, [; [0 V# Q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    / Q! f0 V0 h$ X- s/ t; J; r
  193. ; generally recommended that <?php and ?> should be used and that this feature2 g0 l0 D/ U  {( f5 B3 j% T
  194. ; should be disabled, as enabling it may result in issues when generating XML
    $ c1 L2 L2 T8 I. O* K: I
  195. ; documents, however this remains supported for backward compatibility reasons.
    9 P# U1 G( m0 c2 J2 L
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    1 y- |9 Q" ]0 _; f6 ^( O) w" e
  197. ; used regardless of this directive.
    - [% w9 k; o$ _; Y
  198. ; Default Value: On- Z2 m& a2 |% V
  199. ; Development Value: Off) W! s& z' ~1 k8 K1 Q* Y6 P9 O0 N" }/ O
  200. ; Production Value: Off1 C3 j7 M" N* ?, z! g4 P' {
  201. ; http://php.net/short-open-tag+ O% ]+ J, N' F) X
  202. short_open_tag = On/ \( w2 E, c( U" S- E" @1 d
  203. 5 Z  J( E5 N# p, j" _: c
  204. ; The number of significant digits displayed in floating point numbers.1 ^. @6 }! z! L2 f/ \  ^+ U
  205. ; http://php.net/precision
    6 p7 ^# M% z3 j1 @+ H8 W$ S1 I
  206. precision = 14: ?; |) T  }) M

  207. : B4 {+ w6 Y$ }; x% q  c
  208. ; Output buffering is a mechanism for controlling how much output data
    4 O3 g4 q2 F4 s" r. y- z
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    - E2 ]. m4 m0 P7 U/ i
  210. ; data to the client. If your application's output exceeds this setting, PHP
    3 K3 i7 G' v( B& L
  211. ; will send that data in chunks of roughly the size you specify., ^4 a& e; |0 C2 \& ~
  212. ; Turning on this setting and managing its maximum buffer size can yield some( x+ j0 i$ e& }) |/ r
  213. ; interesting side-effects depending on your application and web server.& H- S3 V  s( A& b
  214. ; You may be able to send headers and cookies after you've already sent output
    1 v/ m! m' S; c/ c8 ~9 t# o' {- K! Z
  215. ; through print or echo. You also may see performance benefits if your server is
    ' P+ Y: H# A2 M  `" F$ R4 P
  216. ; emitting less packets due to buffered output versus PHP streaming the output9 L. l0 \4 i9 {, e7 F" v
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      Z% j; D0 [" u8 C, Y
  218. ; reasons.
    0 u( s" R  P! m  J+ F" a: }! I
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    - n7 y# P9 B8 y4 V
  220. ;   functions.
    ' W! o2 C7 f7 u5 c& p
  221. ; Possible Values:, Z  u6 W( e) @/ U
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ( s$ @- V& b' b- A. I
  223. ;   Off = Disabled( N0 ], V; D6 ~+ H
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.& t4 Q0 U, b. Q, s* h6 ^" ^/ D
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI9 C* K0 F" Y7 Q' x
  226. ; Default Value: Off
    ; V* |5 j. ~+ M, r- W8 V. A. y
  227. ; Development Value: 4096
    - n" u+ f, |2 w
  228. ; Production Value: 4096: J- z5 X& l/ ~$ P  V, [
  229. ; http://php.net/output-buffering: N( b- e- D, w- H, s
  230. output_buffering = 4096. e1 K( k- g" r$ u
  231. 4 B6 p1 y5 a- s# S0 \: b% y5 W
  232. ; You can redirect all of the output of your scripts to a function.  For
    , g; R' p- n  j
  233. ; example, if you set output_handler to "mb_output_handler", character
      P6 f2 C7 ^9 ~: U$ w/ |  V9 R
  234. ; encoding will be transparently converted to the specified encoding.
    + j  E7 e7 s/ ]+ t
  235. ; Setting any output handler automatically turns on output buffering.
    # L6 X7 |# p+ L' D! \6 A
  236. ; Note: People who wrote portable scripts should not depend on this ini6 i6 w( w5 a9 [' f! F" L$ ^
  237. ;   directive. Instead, explicitly set the output handler using ob_start()., J$ l6 k: n/ ~
  238. ;   Using this ini directive may cause problems unless you know what script
    / ^6 g- r' h% I+ y
  239. ;   is doing.
    0 Q  A3 M! g9 U
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"7 l( K9 ]& S  L. j% O" H& l9 A
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".0 C6 }% P+ y' t+ Z; x- e- I5 {
  242. ; Note: output_handler must be empty if this is set 'On' !!!!1 ]+ i0 t: U3 U* z) K; W* U/ M7 H: q& A
  243. ;   Instead you must use zlib.output_handler.
    . d% b6 g% L' i
  244. ; http://php.net/output-handler
    % i) h+ m/ I4 K6 X- R
  245. ;output_handler =5 Y% s. _+ ~4 S, K
  246. / k2 {) U( }" e) U
  247. ; Transparent output compression using the zlib library4 v9 r% t: U. _' q
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size; s, L* ^( [. L0 ]0 M$ E1 j% l
  249. ; to be used for compression (default is 4KB)
    & @: {! R+ T0 |7 j
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP7 i; Q2 z  A6 P2 ?& J7 a. w: @1 [
  251. ;   outputs chunks that are few hundreds bytes each as a result of* |4 S. ~( N6 ~6 V
  252. ;   compression. If you prefer a larger chunk size for better
    ( C! O* @1 u- j6 e
  253. ;   performance, enable output_buffering in addition.
    * ^4 D: a0 q# P4 x3 P: V
  254. ; Note: You need to use zlib.output_handler instead of the standard0 ?1 J5 _6 t6 ?& w1 l3 a, ?
  255. ;   output_handler, or otherwise the output will be corrupted.
    4 W4 m7 ]# Q( L5 ]# b  r( x, X
  256. ; http://php.net/zlib.output-compression! {+ q" w- @+ a9 n5 H
  257. zlib.output_compression = Off. O# K" h) {5 C' P6 C- q/ D3 [

  258. , {7 Z% ^+ ~' Y( f& v
  259. ; http://php.net/zlib.output-compression-level
    9 F) c$ M" S0 b( {
  260. ;zlib.output_compression_level = -1/ Z: O+ ~1 }% }
  261. 2 u2 N3 C0 J0 t) u
  262. ; You cannot specify additional output handlers if zlib.output_compression1 ~6 Q6 b( ?; ]; ?7 N- Y7 M8 h
  263. ; is activated here. This setting does the same as output_handler but in- z2 P* c+ c* y/ a: B
  264. ; a different order.2 ^2 }9 Y7 l; C9 g9 K- u5 S
  265. ; http://php.net/zlib.output-handler
    ) X' A+ {* O  e) n* o% {1 ^) h% S- T
  266. ;zlib.output_handler =
    ( r; l  J* r8 }+ {+ A, d* f
  267. : m# Q- E! {3 l
  268. ; Implicit flush tells PHP to tell the output layer to flush itself5 Y: P2 c5 b4 u, Y- s* o! c
  269. ; automatically after every output block.  This is equivalent to calling the3 ]1 C6 _, x6 r  ~1 X8 C
  270. ; PHP function flush() after each and every call to print() or echo() and each1 X. d0 E) w4 d- w/ l/ q/ u
  271. ; and every HTML block.  Turning this option on has serious performance
    * v! S- F% K, @1 x/ e2 _
  272. ; implications and is generally recommended for debugging purposes only.; a/ g" D0 [- b7 r5 H( r; T
  273. ; http://php.net/implicit-flush8 E( [9 ?6 R% \
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    - k; \" Z, U, s* s; O0 ?. ?/ X) {
  275. implicit_flush = Off
    & J! Z8 h0 ?$ z/ C/ U0 ^$ O1 S5 f
  276. # ~- a: z5 C3 P1 C
  277. ; The unserialize callback function will be called (with the undefined class'* L+ [7 j* T4 P* r
  278. ; name as parameter), if the unserializer finds an undefined class
    ; h) z8 r9 s, |
  279. ; which should be instantiated. A warning appears if the specified function is* V- U# M7 l9 o
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ' I2 N7 T% {( N$ ]3 ]" c
  281. ; So only set this entry, if you really want to implement such a/ U& k1 \' ?1 n- A. [8 m
  282. ; callback-function.1 L! ~6 y6 I  J; S- \. f7 v
  283. unserialize_callback_func =- ~: U/ S; x! X

  284. ( o8 d7 w* C# T6 x  j$ @
  285. ; When floats & doubles are serialized store serialize_precision significant  G# j) u2 L5 i8 m
  286. ; digits after the floating point. The default value ensures that when floats
    9 e" L1 v+ \# ^' B4 {% z8 e4 j0 f
  287. ; are decoded with unserialize, the data will remain the same.
    ) s/ \  e  z4 f' v
  288. serialize_precision = 17
    - z1 m5 C% c1 f# a  t5 K# I) E1 }
  289. 0 [! f$ z( ?) `" {* d
  290. ; open_basedir, if set, limits all file operations to the defined directory
    % t) m! h8 |% D+ u. @* |
  291. ; and below.  This directive makes most sense if used in a per-directory; f) w6 T3 u4 T! k
  292. ; or per-virtualhost web server configuration file.
    : l: n/ a/ J; n
  293. ; http://php.net/open-basedir
    9 m2 ^* G- D/ g4 I! E
  294. ;open_basedir =' N- L" W; Y$ R5 ^% {# {9 p
  295. " A5 U6 x9 }2 Q7 t
  296. ; This directive allows you to disable certain functions for security reasons.! W- f  d( }- ?% f
  297. ; It receives a comma-delimited list of function names.# e. Q8 n3 \# E9 ?! U' E
  298. ; http://php.net/disable-functions3 m0 k3 T% Q1 `9 `: W
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru5 {3 Y8 f% ]5 E  h

  300. 2 m/ Q1 a$ z, n
  301. ; This directive allows you to disable certain classes for security reasons., g$ U* g1 T# {; V7 I9 y
  302. ; It receives a comma-delimited list of class names.' k2 P( r8 o5 {4 X
  303. ; http://php.net/disable-classes1 k" k5 x' l6 n  w! w
  304. disable_classes =
    . w- L: Q$ x7 K! V  e4 {7 Y% X
  305. - V3 F5 E# Y) b6 s* u: A& t+ ?
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 O+ }; K& @7 R
  307. ; <span style="color: ???????"> would work.
    & Z' u: s+ s% E% a# f0 G
  308. ; http://php.net/syntax-highlighting
    & S& g3 g: a7 b& a+ S& [
  309. ;highlight.string  = #DD00008 S9 V7 c( ?+ n; ^
  310. ;highlight.comment = #FF99005 ]1 \0 {' c4 U. H. [
  311. ;highlight.keyword = #0077005 S' h, G8 e. H$ M' y$ b3 O
  312. ;highlight.default = #0000BB6 i) U( }* Y0 \7 Q
  313. ;highlight.html    = #0000006 j- x1 l" l' x* a
  314. 3 S& q2 A8 ~( j" [' s$ m
  315. ; If enabled, the request will be allowed to complete even if the user aborts  E+ y4 ^& N- D  a! p
  316. ; the request. Consider enabling it if executing long requests, which may end up4 u' N: x- M( ^3 U
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
      _" f* Z2 b! e+ P
  318. ; is to disable this feature.. h4 e6 S: [) r! z2 x
  319. ; http://php.net/ignore-user-abort+ o0 v! T$ Q& \- B- i0 o
  320. ;ignore_user_abort = On6 g+ v0 R5 e! S/ e+ C, \

  321. 6 u3 J' Z5 w9 r+ f
  322. ; Determines the size of the realpath cache to be used by PHP. This value should8 C: _+ Q7 d2 ~1 C/ R) F4 \: t, p
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    . B3 Z! ]# K  a6 |* y
  324. ; the file operations performed.
    # @9 M7 O; c5 l% I
  325. ; http://php.net/realpath-cache-size
    / Y$ r0 W- g5 z8 w
  326. ;realpath_cache_size = 4096k
    ( T5 q/ |* a+ E! N5 L% |4 B9 L

  327. ; M% [5 \4 C  C3 o; y
  328. ; Duration of time, in seconds for which to cache realpath information for a given, Y5 n: ?1 C( w
  329. ; file or directory. For systems with rarely changing files, consider increasing this; ~. @9 W. O3 b( e5 {* \9 s
  330. ; value.
    * y8 R4 A; C! U& X9 y
  331. ; http://php.net/realpath-cache-ttl4 P' ~' a$ A5 I. o2 W
  332. ;realpath_cache_ttl = 1202 Q1 ]& w; H1 K% |9 p7 m

  333. 1 t( c3 a3 l6 h+ J* h
  334. ; Enables or disables the circular reference collector.
    ! x0 j) W6 B! D# \: x
  335. ; http://php.net/zend.enable-gc& b) [* C$ J9 z
  336. zend.enable_gc = On, B1 q* e1 e" j7 Q
  337. # t! T5 Q: B8 f
  338. ; If enabled, scripts may be written in encodings that are incompatible with# f; D" U) x- j9 Z3 _
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    8 H& V7 J+ {  Y; G$ o5 B
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    $ m! f( k# `2 X/ H
  341. ; Default: Off
    3 b/ e& z7 s: ^  t  }; A
  342. ;zend.multibyte = Off, U9 N. d2 P4 j/ o6 [3 [0 v

  343. & Q3 Z1 b! ]7 I0 l  V( C
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    , I( Q& m' M! v' ^4 W4 F8 _
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.% g: ^1 M/ y4 c% N
  346. ; Only affects if zend.multibyte is set.
    0 k: x* z- w! J6 G' C* T4 Z/ V: z
  347. ; Default: ""1 Z. X3 K7 j3 a/ w9 B
  348. ;zend.script_encoding =
    & m4 g7 C3 j# P: {) w& _% u
  349. 6 o4 v+ Q/ V5 e" i* F2 m
  350. ;;;;;;;;;;;;;;;;;' P0 y# Y1 ]3 f3 a( K8 j
  351. ; Miscellaneous ;
    7 G0 X$ E3 j2 \2 V0 d
  352. ;;;;;;;;;;;;;;;;;
    $ `* N1 X5 Q" J0 c

  353. 1 u- G. N; ]5 X, f1 A
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    " T7 l$ [' P: `; q
  355. ; (e.g. by adding its signature to the Web server header).  It is no security% Q  x; S" s' Y' b# }' E' h+ _
  356. ; threat in any way, but it makes it possible to determine whether you use PHP. t6 ^: a0 x7 N8 ^+ D; r
  357. ; on your server or not.) i8 _  U. j* q
  358. ; http://php.net/expose-php2 ]: h/ K" ~3 C+ y! @
  359. expose_php = On
    8 m7 I9 u9 ^7 B4 l2 Z
  360. & L  h- v4 z/ _; S6 y+ y
  361. ;;;;;;;;;;;;;;;;;;;4 B6 t7 u# M" q4 s5 x) ?8 G7 f
  362. ; Resource Limits ;
    " _" q1 s' t8 W, ?: U7 F5 g+ J  ^2 m
  363. ;;;;;;;;;;;;;;;;;;;
    7 d2 m  s- T6 \! _0 V

  364. & Z/ `% N2 e3 w6 d# K0 @
  365. ; Maximum execution time of each script, in seconds4 x! P+ L, b+ A/ E7 `& i0 a
  366. ; http://php.net/max-execution-time/ [. J3 n% D% X0 l0 n
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    * [/ e" t" h4 D3 u4 E1 C
  368. max_execution_time = 300! P. d& x/ k4 b  t# d

  369. 0 x) X( _  G$ @/ g% L
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    , d( H4 b' V0 Z, Q/ S  J
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly" h; s6 a+ A9 U3 ^; D  @: I
  372. ; long running scripts.+ Z; Q- Q6 l/ q
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI) `  |5 M" W% e& I
  374. ; Default Value: -1 (Unlimited)
    & s( e( `5 y; v0 L
  375. ; Development Value: 60 (60 seconds)6 D& |* M+ E6 u0 ~. i) p
  376. ; Production Value: 60 (60 seconds)
    ) U9 [& M( a3 F+ a2 v/ q
  377. ; http://php.net/max-input-time' l6 c2 F/ M+ F7 s
  378. max_input_time = 60  D: e- s2 O4 }7 W* K  @
  379. ( b4 F0 U; @) a) l8 o
  380. ; Maximum input variable nesting level+ ^' A( ?8 A6 ]( J" a( m
  381. ; http://php.net/max-input-nesting-level
    4 S8 x$ J! M% L& ~8 t+ M: \
  382. ;max_input_nesting_level = 647 O8 p3 s* a0 E: Z% C' T( h+ I, z

  383. 8 X. y; ~6 n* Y* T9 B* k
  384. ; How many GET/POST/COOKIE input variables may be accepted
    9 q* Q  _" Q) w# y
  385. ; max_input_vars = 1000
    - q+ T+ O  ^5 @9 O) n

  386. & u) n& ?7 C& Q$ ^1 i
  387. ; Maximum amount of memory a script may consume (128MB)
    3 P' t4 b0 V/ `
  388. ; http://php.net/memory-limit
    : p8 [2 V3 _4 @
  389. memory_limit = 128M
    % p2 F  w/ K$ B: b+ C) _
  390. # J- P9 k) _) }3 n! W+ A/ F
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( g" P5 ]1 U6 O+ \! Y
  392. ; Error handling and logging ;9 U+ u1 S- U: h4 E- W$ {
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5 `' a2 T9 F: J# n" C' J

  394. 0 I  H; Y; z, `; t4 f. ~
  395. ; This directive informs PHP of which errors, warnings and notices you would like' A6 ?  f# s% Y! H6 P+ d1 c! W
  396. ; it to take action for. The recommended way of setting values for this
    ' R) R3 k) w' n, D1 o) k
  397. ; directive is through the use of the error level constants and bitwise
    , ^) K1 ?9 `( r. }8 c& r
  398. ; operators. The error level constants are below here for convenience as well as* z5 K# {' j  r$ O9 Z3 z
  399. ; some common settings and their meanings.
    ; r* U# a1 D+ [) r! p6 e: [
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 L: Q& |. t2 v' h' W
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    + ]# V1 m, E8 d' J1 Z4 R7 n# E# \
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    9 V& o$ R$ g& U- W1 u
  403. ; recommend error reporting setting. Your production server shouldn't be wasting6 d9 c' L0 {  _% H6 l8 M2 n3 n, W) H9 T
  404. ; resources complaining about best practices and coding standards. That's what9 S" f3 p) s' @  I4 t- p: ^: i
  405. ; development servers and development settings are for.
    % k' r; ?$ k0 l/ B4 K; {/ m2 Z
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 L0 w' Q3 F2 u5 B
  407. ; means it pretty much reports everything which is exactly what you want during
    3 Q. a0 n. h- k8 c
  408. ; development and early testing.: U5 K! r. G" H; c" e3 y3 X
  409. ;* q4 u( e- B; D* t& M$ k  {2 C
  410. ; Error Level Constants:
    0 E: e* e. V0 e% ?2 x' x
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)  B4 ~! v3 W, ]8 J( n$ a8 u
  412. ; E_ERROR           - fatal run-time errors
    7 _" J& d3 O. d  A2 ]3 r* u
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors7 t. I0 ^; _3 ^0 O8 ?" ^
  414. ; E_WARNING         - run-time warnings (non-fatal errors)( W6 P& i' c8 s( o; C6 J
  415. ; E_PARSE           - compile-time parse errors' E. j" i3 i+ [# q
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 I; r9 P7 H, b, y7 i
  417. ;                     from a bug in your code, but it's possible that it was
    " ~. y5 \3 r# {4 \" {
  418. ;                     intentional (e.g., using an uninitialized variable and+ |3 A/ g$ W' R/ s, R) y* h  ~& A) A
  419. ;                     relying on the fact it is automatically initialized to an
    6 \9 O$ E. t) i1 G
  420. ;                     empty string)  a# Z; |+ L  _1 }( E1 o, `
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    4 t1 _3 o# T8 D1 N7 I, c
  422. ;                     to your code which will ensure the best interoperability1 i% r! E$ K4 J/ g' _( l
  423. ;                     and forward compatibility of your code: V7 w7 B6 ]0 ^) F: U
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ) d6 b+ Z3 A8 [. I
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's! H* P- A9 \/ d5 F! u) _
  426. ;                     initial startup% Y- T" a1 V- u4 ]- ~" j. K
  427. ; E_COMPILE_ERROR   - fatal compile-time errors( ?! y! x% C) D4 U; U! c2 i% D
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)! M2 A. `" x# x
  429. ; E_USER_ERROR      - user-generated error message7 T* r! B7 u- j
  430. ; E_USER_WARNING    - user-generated warning message
    2 `4 Y# h( V3 ]8 X; k2 F
  431. ; E_USER_NOTICE     - user-generated notice message
    5 i: _0 u2 {3 M  S
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    , C7 A4 U6 X, [, T0 ~2 ]5 e
  433. ;                     of PHP7 Z/ ]; j6 J9 y* M. {$ I' M9 K7 Q
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    1 R0 d( a/ N6 w" d: v) X$ A# u
  435. ;2 Q. a2 n7 O3 @6 `. m$ |5 u
  436. ; Common Values:* B* ^0 f2 A0 A+ J1 f5 M
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)" I  h5 z6 S- {, ^5 p8 Y
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ) t  M5 E; N0 D+ p% W
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)& \# t, C) X' z- `
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)9 M. M; T: \( l" A1 _* r
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    9 l7 f. B% x0 t( }9 Z5 X0 e+ ^9 @
  442. ; Development Value: E_ALL; X% _; {1 w5 h. S
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT( a5 G$ {" T* ?$ f1 p
  444. ; http://php.net/error-reporting( h/ d" ~- F$ ~' n0 V- ~, C
  445. error_reporting = E_ALL & ~E_NOTICE7 {1 H5 p# f3 X
  446. ' l6 k2 c. E: e( O, q+ z
  447. ; This directive controls whether or not and where PHP will output errors,
    . A1 }* y/ [2 ^6 l8 X
  448. ; notices and warnings too. Error output is very useful during development, but( Q1 _4 Y1 }$ }9 w
  449. ; it could be very dangerous in production environments. Depending on the code
    2 y% l- f- }' H  M2 V
  450. ; which is triggering the error, sensitive information could potentially leak
    * J3 y9 e# [8 ?4 ?
  451. ; out of your application such as database usernames and passwords or worse.
    # C! L: \# Q0 J  F, m! D
  452. ; For production environments, we recommend logging errors rather than  Y3 d& L( v, N  n% O- f9 ^- [
  453. ; sending them to STDOUT.7 ?3 R7 G) k' a8 S9 A7 `0 ]+ s& V6 Y3 V
  454. ; Possible Values:
    9 C) h/ v# Y9 A$ J+ B5 b1 ^
  455. ;   Off = Do not display any errors. Q9 c4 F# B3 X( V+ C6 F$ E
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    . h# t  }- ~/ C+ @& i
  457. ;   On or stdout = Display errors to STDOUT
    $ C* t  M) ~6 ~  G% j
  458. ; Default Value: On. E& b' v4 J) R  |8 @- x7 U9 f
  459. ; Development Value: On
    ! |  ]0 O$ F; o$ B; V" v: C
  460. ; Production Value: Off
    8 n5 u1 B! @7 K  J" |
  461. ; http://php.net/display-errors
    1 Q5 _' [, }2 ~: g" g
  462. display_errors = On
    7 E7 B# H! g3 @1 B1 t6 x' S

  463. 4 w* z, N3 N5 G: V  Q2 v
  464. ; The display of errors which occur during PHP's startup sequence are handled& R+ t7 |2 g; m2 l8 J4 v
  465. ; separately from display_errors. PHP's default behavior is to suppress those" m: z# V5 W- `" H( B
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ( Z& F, W4 x8 ]- A' p. J
  467. ; debugging configuration problems. We strongly recommend you
    9 u- [( U) V+ q) }4 O( s  L
  468. ; set this to 'off' for production servers.3 w1 m7 b6 ]8 B( b" r, _, F) S/ F( y
  469. ; Default Value: Off+ g- C/ [2 a" W; X
  470. ; Development Value: On
    0 V# o& |5 m0 v6 u
  471. ; Production Value: Off
    8 `  d. v# l8 u4 f9 Y5 q; s1 d; X
  472. ; http://php.net/display-startup-errors
    4 v0 e2 f6 W! s- m4 ~0 Z9 T
  473. display_startup_errors = Off, {0 \1 h7 w) w0 ]
  474. ) ^- N5 \+ N' c2 O$ p
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    4 S, R! r) q8 \; |
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ( f+ D, S) v; V& o+ W
  477. ; directive found below. While errors should not be displayed on productions
    3 F( z. H' ^$ L0 M9 w; j
  478. ; servers they should still be monitored and logging is a great way to do that.
    ! I( f  `/ _( o# r9 n
  479. ; Default Value: Off
    0 M* p* \5 F+ I/ F" H
  480. ; Development Value: On8 K4 `7 b2 Y) y" F  R0 e
  481. ; Production Value: On
    0 J( Q# @- u# ^8 ~6 |
  482. ; http://php.net/log-errors
    3 h& S: U( J# j& p2 P5 R% g8 t: K7 I
  483. log_errors = On
    2 R; ]; Y  ~& ~& q9 S; o  J

  484. , G9 u4 R! W, N: ]( n, a. H0 ~
  485. ; Set maximum length of log_errors. In error_log information about the source is
    5 ?3 G! k4 C( M6 m
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.% d' [3 w* F6 S8 p2 @$ [
  487. ; http://php.net/log-errors-max-len) Q9 N9 o5 ?( k# Y2 G4 Z
  488. log_errors_max_len = 1024
    - R, u3 |9 i9 ]' A7 H# ]

  489. * h. k2 f: q* C) V
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same3 k5 K+ U0 _* {1 s
  491. ; line unless ignore_repeated_source is set true.0 t( p6 ]5 M8 a" [5 i
  492. ; http://php.net/ignore-repeated-errors/ n% I' n& Q  R* W
  493. ignore_repeated_errors = Off+ c3 W7 o9 m3 F

  494. . s. Y. B6 X$ h
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    8 A& m9 i6 r: H0 f; {9 C# U
  496. ; is On you will not log errors with repeated messages from different files or' O  W  v& t0 t
  497. ; source lines.  b: D9 u+ t8 b; U
  498. ; http://php.net/ignore-repeated-source9 Y3 Q8 O# [9 M  G" A( X0 X
  499. ignore_repeated_source = Off
    9 V9 M' c! I/ J! G- _

  500. ) X. \) l. c( x1 v* Z5 k9 [
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ; O0 @1 e3 q& r2 Z; L
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    0 d7 ^- D' ~5 q+ e; n) @6 Z, c
  503. ; error reporting includes E_WARNING in the allowed list
    : S* Y7 g- r$ r
  504. ; http://php.net/report-memleaks
    / Y+ x8 s( w0 ^# c
  505. report_memleaks = On* L: I' i9 V9 V1 t

  506. : T+ W7 w6 b7 r# j
  507. ; This setting is on by default.0 K. ~9 m) o+ L$ @) y7 D
  508. ;report_zend_debug = 0; g) `$ Q1 t; T" F: ?/ f

  509. $ q5 y. e! R* n- |# |- m4 b) x
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value. @- r. O2 |0 G4 b0 }0 y
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    . r$ n( D1 v( {
  512. ; however be disabled on production servers.+ i$ T" k) f0 ?% A+ Y  o
  513. ; Default Value: Off  X$ l# j" M: N. E8 u: |3 v
  514. ; Development Value: On: x7 S! ^' K2 N% ]6 s, S2 m
  515. ; Production Value: Off
    $ j  Q# ^/ H4 h
  516. ; http://php.net/track-errors0 G9 c/ o: U4 t, D
  517. track_errors = Off
    + z2 H6 ?* d/ j  G

  518. 7 v+ S  H; E& h
  519. ; Turn off normal error reporting and emit XML-RPC error XML; [* f8 v0 y) n' p
  520. ; http://php.net/xmlrpc-errors- v8 G/ f1 t+ ~) _) T
  521. ;xmlrpc_errors = 0
    0 ~8 Y! N" o- M! F+ o$ G

  522. ' n& t7 L5 l  G8 O5 h* S9 P
  523. ; An XML-RPC faultCode
    & {$ A/ Q1 ]* P* K* ^* v
  524. ;xmlrpc_error_number = 0
    ; y: a' D9 f- B3 `9 k+ S5 L4 C0 C

  525. 9 o5 D6 U7 E$ t9 h1 m
  526. ; When PHP displays or logs an error, it has the capability of formatting the% E& b; {! ~# Z$ O
  527. ; error message as HTML for easier reading. This directive controls whether; @0 g2 S1 d' a: f% \' D' C
  528. ; the error message is formatted as HTML or not.$ `& L2 E/ d" i: a1 {
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , o7 p0 w/ G% s/ ^) h1 d9 Q
  530. ; Default Value: On2 ]% @( V+ k, \  [1 h9 P
  531. ; Development Value: On
    2 @: {) \5 Y: }7 E/ d) f: p! V
  532. ; Production value: On
    5 p* E. g0 ]( S9 {+ v3 Z7 V
  533. ; http://php.net/html-errors
    8 P6 Z. t$ x* y1 B8 K- r2 E: s
  534. html_errors = On
    ! D' I4 g: T3 _

  535. ( A% M, f. o" v3 b( P. E: H) _
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    * l2 R  p4 ]) v
  537. ; produces clickable error messages that direct to a page describing the error3 Z1 ]. i' y" W( z- U
  538. ; or function causing the error in detail.1 ~2 j9 }" v+ [1 ~. n2 N6 h& ]
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    9 Y0 B" F& \. v* x+ q
  540. ; and change docref_root to the base URL of your local copy including the% p, q( A+ }; O, q' N+ Q; g
  541. ; leading '/'. You must also specify the file extension being used including
    7 w1 P+ w" d  K, T3 ~. P2 b
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which6 N$ T& E# w& z' Z# |
  543. ; case no links to documentation are generated.
    2 ?, Q5 i! G5 G" \9 w
  544. ; Note: Never use this feature for production boxes.
    * G, K% j1 _. l6 M) v7 z& X
  545. ; http://php.net/docref-root% L. V2 E' a( e; l! }
  546. ; Examples0 G. @( N  r- I3 J$ F! e
  547. ;docref_root = "/phpmanual/"
    & _9 X0 Z- R: e3 ], x  t, C7 C& f* [

  548. 6 ]( |( d# q, @& x% b" z- H2 |
  549. ; http://php.net/docref-ext; Y4 i9 }/ r7 x
  550. ;docref_ext = .html
    . S: J9 r& b% t: r8 T

  551. ) d# f/ K0 L3 S
  552. ; String to output before an error message. PHP's default behavior is to leave
    4 A5 R( J/ A  U0 z2 p
  553. ; this setting blank.
    3 z0 I8 i4 m# V4 s# L
  554. ; http://php.net/error-prepend-string
    . S: v' A/ S9 d/ L0 y7 j
  555. ; Example:
    - \- M! O0 p1 C  \
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ) W- B+ \2 V0 U' s, g9 A
  557. * B+ @: f* o+ o9 Q" ~! _$ B5 L
  558. ; String to output after an error message. PHP's default behavior is to leave
    1 P5 u2 |0 O% I# ]6 w
  559. ; this setting blank.
    $ r9 o* e% u8 }) N/ G
  560. ; http://php.net/error-append-string
    # {4 d7 e( k  \( n- ~* J% W$ O: p' n  ]4 ]
  561. ; Example:( P0 K2 H5 i; @, l- L& z; E
  562. ;error_append_string = "</span>"
    7 }. G8 v' _: Z' x8 V7 w# K7 y
  563. 8 A% y9 F3 N$ P
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    % H: P, |9 H. I  v" V2 A, E2 P6 W4 I
  565. ; empty.
    9 N3 Z- m3 ?4 z
  566. ; http://php.net/error-log# d7 W' h4 ~; N/ O; R. |
  567. ; Example:
    * y& Z/ D2 z* [: B9 ^" J: v
  568. ;error_log = php_errors.log  o. P$ d) {3 l3 w, t: \6 Z* Y
  569. ; Log errors to syslog (Event Log on Windows).
    6 t+ U( I: D9 i5 @! w
  570. ;error_log = syslog
    ! z4 ~/ w! t# x% x3 `8 ~

  571. . P! `, W8 r! J3 W
  572. ;windows.show_crt_warning5 N5 y9 G/ G8 C/ s
  573. ; Default value: 0
    - D/ a' u7 @  t! M
  574. ; Development value: 05 B5 x$ z: |' f
  575. ; Production value: 09 ]9 G) l1 E* r' w8 S

  576. ( e& _" f! d- E! [/ U1 F8 ^- {. y# B+ ?
  577. ;;;;;;;;;;;;;;;;;
    . p4 j+ a3 z2 |6 D6 g
  578. ; Data Handling ;( j  k  g; _8 O; A( F
  579. ;;;;;;;;;;;;;;;;;
    * l  I. I8 f, g  j9 j1 @
  580. $ D' Z. e$ u, @3 O7 {
  581. ; The separator used in PHP generated URLs to separate arguments.
    # m" Q1 C: u; t
  582. ; PHP's default setting is "&".
    9 Z6 i+ o' ~- d3 N, ]5 E. V
  583. ; http://php.net/arg-separator.output: C+ S/ ^$ h1 D/ ?$ B
  584. ; Example:
    ! V+ F2 `# I2 u
  585. ;arg_separator.output = "&"# \+ X8 K- [9 ]0 S( T) _

  586. 0 Q: Y; \* r1 y" C
  587. ; List of separator(s) used by PHP to parse input URLs into variables.& K3 S8 @5 W3 K9 w9 M. C; u9 c
  588. ; PHP's default setting is "&".
    , y5 i0 W4 R; L# T( z& g
  589. ; NOTE: Every character in this directive is considered as separator!
    ) O3 _2 E2 ~( m2 V0 z# r+ P
  590. ; http://php.net/arg-separator.input5 g! X, \; l, Q3 [. w
  591. ; Example:
    & f) Q' U6 C+ G1 \- o
  592. ;arg_separator.input = ";&"( ?+ Z* ?2 \  x  o6 a2 ]. H

  593. ; l. l; t5 ~- [7 V
  594. ; This directive determines which super global arrays are registered when PHP1 L; M- @6 j# h6 @; z. t
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super  j& i" ]( r( t8 m0 h
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    0 x$ ~9 j) e9 p. C
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    6 O8 g  a" S; |: C
  598. ; used as the others, ENV is not recommended on productions servers. You5 [) {4 `! G7 \1 n5 Z$ S
  599. ; can still get access to the environment variables through getenv() should you
    : l; |! i: v- |4 ^% R5 X+ v
  600. ; need to.* s  m' n; ~0 f  s) ^
  601. ; Default Value: "EGPCS"* g7 V. r) s) [/ O3 h6 E! _9 Y" P
  602. ; Development Value: "GPCS"
    . T5 Y8 q: S: O/ C2 K9 ^# R
  603. ; Production Value: "GPCS";3 o. P. I" [9 d/ n7 I
  604. ; http://php.net/variables-order+ M0 S7 Z4 d% `% i
  605. variables_order = "GPCS"7 k* T' f5 o& i; ]

  606. " y: f0 Q, T& G4 f$ L$ f7 e
  607. ; This directive determines which super global data (G,P & C) should be6 z; t0 v$ s! k7 U' ?
  608. ; registered into the super global array REQUEST. If so, it also determines
    , m; b/ L! A  w5 r
  609. ; the order in which that data is registered. The values for this directive/ Q8 N7 r# M. r  O1 z
  610. ; are specified in the same manner as the variables_order directive,. G6 a* H7 R! y& g# g
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    , i4 t/ ^/ ]& e; \  l1 ~
  612. ; in the variables_order directive. It does not mean it will leave the super
    # c& _6 Q' G2 a3 G' j
  613. ; globals array REQUEST empty.
    " f0 M# C: Q' _  C* I' K- {3 I2 l
  614. ; Default Value: None
    8 f9 t( s5 L  D, Z
  615. ; Development Value: "GP"
    6 z3 S+ j3 n) m
  616. ; Production Value: "GP"
    3 @! R& u8 D2 i' L/ I
  617. ; http://php.net/request-order
    7 [! U; d2 T: r" l1 M; `' F( ^$ g
  618. request_order = "GP"* v1 N, ]* H1 F. o( M

  619.   w& x: K+ b. k" M
  620. ; This directive determines whether PHP registers $argv & $argc each time it. |' N/ [/ a: Z" ^* u
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ) [$ D  T# v+ t0 T
  622. ; is invoked. $argc contains an integer representing the number of arguments4 e3 K) k' p6 X1 b9 K2 T
  623. ; that were passed when the script was invoked. These arrays are extremely
    . S8 ~4 N3 I9 _! m; l# L3 x6 |, ~
  624. ; useful when running scripts from the command line. When this directive is
    3 g6 ~% F2 X5 |* G# D
  625. ; enabled, registering these variables consumes CPU cycles and memory each time) T$ O- ]6 ^! O, l3 M8 T
  626. ; a script is executed. For performance reasons, this feature should be disabled# z/ S8 u2 K: G! L
  627. ; on production servers.
    4 U; ^* `# T! d$ |
  628. ; Note: This directive is hardcoded to On for the CLI SAPI+ S8 U5 y8 M$ ]* p5 e# F5 d
  629. ; Default Value: On
    # h( H! b" x" E6 y' ^7 B
  630. ; Development Value: Off
    . w5 i$ G$ A, _; y' H0 e* A
  631. ; Production Value: Off
    1 M2 p( m  s& G$ h$ i
  632. ; http://php.net/register-argc-argv
    * A/ k) ?3 G/ D0 h' ]7 P
  633. register_argc_argv = Off( r4 a+ }& {8 D/ F% C% Y

  634. " h7 m0 u: k0 B9 L% f+ b/ R% G) x
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're6 A0 F, T1 m8 o; R
  636. ; first used (Just In Time) instead of when the script starts. If these( J  H7 `8 a3 |$ |* |4 @5 `
  637. ; variables are not used within a script, having this directive on will result3 m" H, P) ]/ @2 f  w
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled* y- f% E8 r! y! ]" I3 [4 b
  639. ; for this directive to have any affect.4 J" v- R8 D" M9 ~; F
  640. ; http://php.net/auto-globals-jit
    7 d$ l2 `- D( s* G6 Q" G: ^
  641. auto_globals_jit = On, c4 w6 {; f. t' Q% x
  642. ; P% Y1 Y! E6 F6 P& Z3 I5 g3 Y
  643. ; Whether PHP will read the POST data.& x" E' V3 d" m
  644. ; This option is enabled by default.
    - C9 w* `, \* l/ X. K
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    " c) o* e( N/ T% ]" W
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    + J+ L! `3 t* r+ T2 o5 a) `0 h/ {1 K
  647. ; POST data will be through the php://input stream wrapper. This can be useful% w/ n$ E9 U; ?2 }9 t5 K
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.) L. U) @' A; l
  649. ; http://php.net/enable-post-data-reading
    / t7 M) j* k$ A' d
  650. ;enable_post_data_reading = Off
    # e3 @6 b. ?, q9 G( ^2 K

  651. / ?8 N0 ^- q" @; S
  652. ; Maximum size of POST data that PHP will accept.+ K" h, w* X0 c9 [* t
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading1 X% J$ q, p3 s9 O2 E
  654. ; is disabled through enable_post_data_reading.
    $ b2 ~; e4 u4 `* L- }6 M. _
  655. ; http://php.net/post-max-size+ b! B( W9 p& V: c) v" f
  656. post_max_size = 50M& `0 o: i) x/ t. P$ J, ~4 y1 b+ A) F4 S
  657. * P* q( f! j2 i' k4 x5 L, K
  658. ; Automatically add files before PHP document.
    + ^" N1 W" {9 \  M. h) u
  659. ; http://php.net/auto-prepend-file
    6 D9 O" L! T. B0 T1 x
  660. auto_prepend_file =
    5 }, j" c! ~" \) u9 z3 l
  661. 8 A: H9 Q3 h- N9 J% h2 |9 p! Q
  662. ; Automatically add files after PHP document.$ ~- {1 {( P& c- d- `4 v$ O" Z
  663. ; http://php.net/auto-append-file
    / [6 \* r4 L+ R6 s# b
  664. auto_append_file =
    % Q$ q& X" f/ u4 _# W( E
  665. 0 [1 s6 X1 g- k1 h$ \  ?
  666. ; By default, PHP will output a media type using the Content-Type header. To
    & x; x. K! @: Z. I1 }3 ]
  667. ; disable this, simply set it to be empty.1 z% H; \5 l! f7 [/ h. Q4 I
  668. ;
    0 x8 I0 _( d( o
  669. ; PHP's built-in default media type is set to text/html." W* ?# [% {: X( L
  670. ; http://php.net/default-mimetype/ Z" ], t: ~. A, E
  671. default_mimetype = "text/html"  M5 B2 T' G% ?( g# T( D% Z9 U
  672. * y! n. N* v, @+ Q) O- x; ^- k6 d
  673. ; PHP's default character set is set to UTF-8.
    * I1 e+ _. O, S& B+ R0 {
  674. ; http://php.net/default-charset& c- _; z2 ^+ o
  675. default_charset = "UTF-8"  }$ n4 s1 f" q& P

  676. % d% h) F8 S: y6 q. s7 [
  677. ; PHP internal character encoding is set to empty.+ L& ^5 A8 {' \. x% ^0 Z9 A
  678. ; If empty, default_charset is used.: ~9 z# b) c( @8 N* v
  679. ; http://php.net/internal-encoding
    0 Z2 U$ X" G3 I5 Q7 {3 w, d
  680. ;internal_encoding =1 }0 i! D) d; P: f3 a3 a
  681.   d& t3 K  U2 y! e- Z" I
  682. ; PHP input character encoding is set to empty.
    1 q( v. Q" W& N. J
  683. ; If empty, default_charset is used.0 ?- C0 t, q8 r+ _( _" ~
  684. ; http://php.net/input-encoding( ?- l( D6 X" R
  685. ;input_encoding =0 Z8 x3 R: u) `5 i! {; l  e" w
  686. ; b) X3 @- D. O+ \4 _1 n
  687. ; PHP output character encoding is set to empty.8 N! g7 ]1 p% S4 p7 ?
  688. ; If empty, default_charset is used.6 h" ^7 ], Q" K) z% P9 F  D9 Y5 V
  689. ; See also output_buffer.6 ~4 k# R# A  }+ b* Q$ p
  690. ; http://php.net/output-encoding( a5 P7 Z2 A  z4 X3 \" \0 D( y4 C
  691. ;output_encoding =* T9 b+ z; s8 P* v1 b
  692. 8 Q) u4 B( A; M  ?* x
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;& i9 Y8 J: N. {* ?4 c3 a+ U! S# y
  694. ; Paths and Directories ;
    , k: H  A, V: \9 n. o/ i7 u
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;- J2 r  @/ A  F% @% [3 a

  696. & H# B, j4 }& k
  697. ; UNIX: "/path1:/path2"
    1 D( \$ w! v3 r+ V+ P+ O' }& a8 ]
  698. ;include_path = ".:/php/includes"
    9 x. O* r5 d, E3 A0 @" f4 j
  699. ;: B: C$ D! b* o0 b, X! F
  700. ; Windows: "\path1;\path2"
    + G( K: S0 k5 k1 n0 u( T3 f5 e
  701. ;include_path = ".;c:\php\includes"8 o: V3 P- {) B  v1 D' {; I0 r" v
  702. ;
    6 C  f9 y8 f3 C& m. I+ A
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    , W- z( r8 w' U, \# M
  704. ; http://php.net/include-path
    ! y2 i1 C1 r$ Z; v/ @- F& }; E

  705. / X9 }4 f2 Q% A4 _  x' |# a
  706. ; The root of the PHP pages, used only if nonempty.$ ?2 ]2 d+ ^8 ^2 S
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root! [( M" U! Y2 t; w. L9 f1 R
  708. ; if you are running php as a CGI under any web server (other than IIS)
      `% `: {4 L# C2 Q/ x5 C
  709. ; see documentation for security issues.  The alternate is to use the
    1 i) Z# _8 s) L
  710. ; cgi.force_redirect configuration below
    + i6 C0 O+ ]! f1 f% f7 L3 l) |6 V4 ?
  711. ; http://php.net/doc-root! n$ |5 U- q( c( n* S% T( E; @
  712. doc_root =
      I  l4 ]# w- C5 e% R
  713. ; {" J5 b' [9 N* ]: T
  714. ; The directory under which PHP opens the script using /~username used only  R& `6 \/ p! f& j$ D  A- W
  715. ; if nonempty.5 G8 \% p$ G6 _% _1 Z1 h) X* {
  716. ; http://php.net/user-dir
    5 _+ o* Q4 q- S
  717. user_dir =
    + }- d2 {. h% Y
  718. 7 ?5 W5 r2 y* z6 `, X
  719. ; Directory in which the loadable extensions (modules) reside.
    . j1 t- l6 ^0 ?7 `- `' [
  720. ; http://php.net/extension-dir
    8 w6 d; @( L0 m+ Y- p& t1 v
  721. ; extension_dir = "./"4 e5 h; \5 n! A* ?, Z% l3 W( o1 a
  722. ; On windows:6 C) R3 r% v8 l! \; }0 d
  723. ; extension_dir = "ext"
    % e. `4 y( @# i

  724. & t. }' k8 S' D* g
  725. ; Directory where the temporary files should be placed.
    0 M: b  H, Q0 v: k, ~7 d
  726. ; Defaults to the system default (see sys_get_temp_dir)
    " b: i( r5 P0 S2 g, c6 Q; [: i1 ?
  727. ; sys_temp_dir = "/tmp"
    & W3 u8 A, Z7 |; q4 V% u

  728. ' K8 p' Y7 D# u6 T
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    $ s4 [, r; |: A/ U9 Z- L. E
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    " v9 z1 v6 V- k( U( |6 ]6 m- G
  731. ; disabled on them.
    0 P! [) I$ s  y* E# {: d$ c
  732. ; http://php.net/enable-dl
    + Q2 M9 q6 L0 p" q; m
  733. enable_dl = Off
    2 B/ B# R/ W: }; Q2 Y
  734. 6 o: u% B; ?2 l! y3 _. [  Z- }( t
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    , Z! U+ t# y: _7 F5 X
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can0 M& P/ o+ M8 Q3 h7 w4 ?: i, P
  737. ; turn it off here AT YOUR OWN RISK: p/ t" u6 Z: j2 ]& X" I
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**; t" G& X* @0 L2 r: U
  739. ; http://php.net/cgi.force-redirect+ z5 B  i! u, _! o8 @3 a2 ]/ D, v
  740. ;cgi.force_redirect = 1
      E! K& R' y8 p" J2 V; V
  741. / P& W7 {1 l3 n8 N* S
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    + w: Y$ q3 z% A" ^+ I9 y$ E
  743. ; every request. PHP's default behavior is to disable this feature.- z! `( c% Q5 N) D
  744. ;cgi.nph = 1
    4 [- E; s) ?" }5 q
  745. . X  b( R. I' U
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    % q6 o1 ^1 \1 d
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    # |& N4 R) E) [4 Y' _
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    / S, x. L$ I5 X, w
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 ]) h+ V& S4 j+ b
  750. ; http://php.net/cgi.redirect-status-env
    ! q0 g1 Z# t/ t# I
  751. ;cgi.redirect_status_env =
    6 a& X6 e7 a# }; M1 l$ Q7 W0 Y
  752. 9 H$ O3 q7 r* g: ^
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's* z* x( J6 |- l' D% n
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok* C3 {3 T5 `- \- [" c
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting: M9 k: X" U' N
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    & Q" w* {1 i( Q# y7 u% x
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " z* R; s0 S5 M$ U5 v. d1 a1 V
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    4 r; p8 B6 l- ~+ N: z
  759. ; http://php.net/cgi.fix-pathinfo
    - j; f- M% p& g
  760. cgi.fix_pathinfo=1
    2 Q, L$ m; x, ~9 [* A* |
  761. 0 [4 i& O7 c' E- I
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    % y3 i3 h- u8 g& d: @9 U
  763. ; of the web tree and people will not be able to circumvent .htaccess security.* g1 d* v7 V7 G. K- N0 i; Y
  764. ; http://php.net/cgi.dicard-path0 l2 t% f1 D0 ~) w* g& W6 B5 [
  765. ;cgi.discard_path=1
    2 T# N" v9 m' p

  766. ( _8 ]( m9 q" l2 e  T; Q8 H0 W0 h4 Y
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    - S' q+ o! h7 W; \/ ?- T$ _
  768. ; security tokens of the calling client.  This allows IIS to define the) }2 A/ k" L% J  `
  769. ; security context that the request runs under.  mod_fastcgi under Apache; E+ q; f* s  p! K  Q+ ~* O
  770. ; does not currently support this feature (03/17/2002)
    $ }( \' I# K6 a1 R1 h0 M% o
  771. ; Set to 1 if running under IIS.  Default is zero.
    . N8 h' u0 O3 ~2 X
  772. ; http://php.net/fastcgi.impersonate
    ' v  s3 Q* X5 J% l  M- R* I
  773. ;fastcgi.impersonate = 1
    % ?3 H/ T0 z, V  y
  774. & A- E+ v) K1 R% [- {. B
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable- N0 c' y& _, T
  776. ; this feature.: a) F' U  }% Q) w% w6 e6 z
  777. ;fastcgi.logging = 02 v5 `4 z9 Q& x

  778. * i/ q, y4 K- k
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 F; y  u/ u+ B1 i/ r
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
      n. E# e1 F7 g8 N$ J: C
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    9 h+ s4 l/ `0 @: t/ P$ F0 f9 |
  782. ; RFC2616 compliant header.
    2 G( p6 Y  y4 E$ M8 E, n' j
  783. ; Default is zero.6 b+ e" v8 m; {
  784. ; http://php.net/cgi.rfc2616-headers
    $ Z( l. c% J0 q1 [2 t8 u5 B
  785. ;cgi.rfc2616_headers = 06 W7 `9 S) Q% @; k) e9 q
  786. 0 g, U, b# r! S# T4 i
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!9 R2 j( C! V" j% n- r: V
  788. ; (shebang) at the top of the running script. This line might be needed if the% M7 C8 r8 V) ~+ N2 C
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    + @5 `! {2 d/ B  c
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ( a# }+ F; ?& W
  791. ; http://php.net/cgi.check-shebang-line
    0 y  a3 z( {- M  n6 s  C
  792. ;cgi.check_shebang_line=1/ ]: O8 y" c- g+ d) m9 o
  793. / z( u+ ^+ V9 m. b9 p
  794. ;;;;;;;;;;;;;;;;9 s) v- L0 ?* [8 V$ _% Z
  795. ; File Uploads ;4 d% o9 b3 E* G
  796. ;;;;;;;;;;;;;;;;
    8 a" O6 J6 R& D) n+ o/ C# ~6 L& k
  797. ; ?6 ]( K. z: w+ N. q
  798. ; Whether to allow HTTP file uploads." Q+ q5 q5 {, f& x8 B; f8 M
  799. ; http://php.net/file-uploads$ l; `' F0 V, {6 R; _
  800. file_uploads = On: j7 _/ v; u- k; X0 D! {
  801. 0 Z  P, L0 P/ m. O/ B+ j( K5 v
  802. ; Temporary directory for HTTP uploaded files (will use system default if not& K: ^) s% E$ |( K% O
  803. ; specified).
    6 V- Y* F. q$ C: n/ O
  804. ; http://php.net/upload-tmp-dir
    4 n. l. d0 `3 {$ U/ n8 Z
  805. ;upload_tmp_dir =: W: l' k+ @7 `" v8 p: e

  806. ; Q# g) W1 P  F& O
  807. ; Maximum allowed size for uploaded files.
    " _7 s/ R* ^& r/ G
  808. ; http://php.net/upload-max-filesize3 Q" }0 [( p  Z/ W$ e! A
  809. upload_max_filesize = 50M
    ) ?5 B6 j# {$ F* y! N% n( G

  810. % Q. H5 F% W2 u* Y; C
  811. ; Maximum number of files that can be uploaded via a single request
    6 ^; p3 Q6 k9 M7 R( C  T' D
  812. max_file_uploads = 20$ z% O9 b3 s) |' d$ `4 c5 l
  813. 9 g/ ]1 y8 ~8 Z/ C# l- K9 E+ a
  814. ;;;;;;;;;;;;;;;;;;# [& J0 q2 g: ]( {0 j9 [
  815. ; Fopen wrappers ;( G( _" J. M) u+ K4 ^( Y8 X; z+ I8 u
  816. ;;;;;;;;;;;;;;;;;;" n, M6 Z: L+ n
  817. , F; X  I( |# I0 V8 Q
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    % }2 C! N4 o5 |/ X
  819. ; http://php.net/allow-url-fopen
    ) ?- C( k; S$ H! h
  820. allow_url_fopen = On6 h4 b7 O" P, @: v! N8 a" K2 L! R

  821. $ ]9 h9 f9 |3 S- }
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    + i/ X- u& ~+ r$ }
  823. ; http://php.net/allow-url-include
    : t6 F+ X6 h+ T, ]0 u0 k
  824. allow_url_include = Off
    + ?. f  F' M( q* a; N' g, {( m

  825. + y+ _$ K7 f% N4 p! \7 |
  826. ; Define the anonymous ftp password (your email address). PHP's default setting" h/ m% s, B) T" m2 E: x  c
  827. ; for this is empty.
    % Z( H, |; [- t5 m
  828. ; http://php.net/from- a5 [( X- {! B/ r3 @4 r: n
  829. ;from="john@doe.com"
    8 F: z3 P1 }+ r: K: ]9 O
  830. " k4 ~1 K) n: U8 P5 U
  831. ; Define the User-Agent string. PHP's default setting for this is empty.% v; A# D2 v. @; E
  832. ; http://php.net/user-agent# b- p' U; \: P  L8 J8 G
  833. ;user_agent="PHP"0 Z" C3 m* [3 p. I5 Q2 [

  834. # A* m! ], f5 j: _; w' f( G7 ~
  835. ; Default timeout for socket based streams (seconds)
    - C* R. a" X/ ]& |+ @! I5 c1 d& C
  836. ; http://php.net/default-socket-timeout  |! b  W% i/ _+ s  z: Z% E' G$ l
  837. default_socket_timeout = 60. u  _- h8 V. n) \# g
  838. 8 r' {: w& P1 N4 w. o6 m! f
  839. ; If your scripts have to deal with files from Macintosh systems,' o  Q" b3 A% u0 y, R
  840. ; or you are running on a Mac and need to deal with files from0 J' c$ j: @# N5 E5 @
  841. ; unix or win32 systems, setting this flag will cause PHP to2 O8 B3 H. u: T2 d' [' ~
  842. ; automatically detect the EOL character in those files so that
    3 z- B( e( {* i- ~, `6 D
  843. ; fgets() and file() will work regardless of the source of the file.
    & ^7 h' j4 E) J: E
  844. ; http://php.net/auto-detect-line-endings
    % [; u; N0 G$ L9 Q
  845. ;auto_detect_line_endings = Off
    / T' s5 O3 d& I: s" D
  846. - \( J$ k) f, R6 q
  847. ;;;;;;;;;;;;;;;;;;;;;;
    6 O5 D" K' H1 `" ~) q; j8 w5 L
  848. ; Dynamic Extensions ;
    8 w4 Y( n- W7 G, }5 C6 w1 d
  849. ;;;;;;;;;;;;;;;;;;;;;;3 B" ?* j$ G0 c- u7 L9 E6 C

  850. : e2 f+ O, q) I2 j5 I" u
  851. ; If you wish to have an extension loaded automatically, use the following
    ( P3 D* M2 N2 E! C
  852. ; syntax:
    ' ~! n) S* b0 o! z3 X
  853. ;
      _' O) y9 D, V5 j
  854. ;   extension=modulename.extension
    " R# C, e' t+ g! {- v( z1 Z' n) h
  855. ;
    ' Z$ B7 h# a+ a) w% E+ Q( r6 w
  856. ; For example, on Windows:: v% r* ^! U- j( D- N* W
  857. ;4 z9 d$ x" @; C( Q
  858. ;   extension=msql.dll) P8 d% j! Q, Y( w4 K) E" Y# L, }
  859. ;
    : d2 `. X0 X+ C+ H# f  Z/ i
  860. ; ... or under UNIX:$ \: v" E% u8 I  X6 e) L* E
  861. ;
    . x0 C7 {5 G% T6 [. |3 J! i& X
  862. ;   extension=msql.so" g, s. N8 Q- J6 R$ ]1 ~
  863. ;; p3 h  \& ?5 G4 u% i5 Z1 R$ p9 m$ m
  864. ; ... or with a path:
    & |6 [1 }% L* M9 o. ]( W9 A3 n6 g- j+ e
  865. ;/ Q4 U! ~% f+ T  K6 G4 i. Z
  866. ;   extension=/path/to/extension/msql.so; k( W: k1 T! X! L* H
  867. ;7 Y" \) C! c' T- L2 B" f/ F$ s. A
  868. ; If you only provide the name of the extension, PHP will look for it in its& T3 _9 h5 i, ^1 O6 P7 h6 u* E; p
  869. ; default extension directory.
    2 G6 q! w7 }+ b, r; k% X* }
  870. ;/ W5 _: w4 f" [8 R; F# S
  871. ; Windows Extensions
    / N. Q8 I) O& i  k1 i" F6 \
  872. ; Note that ODBC support is built in, so no dll is needed for it.; o. |8 n) F5 p. h1 o- h9 ^* }* x
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    2 z* o7 z! J$ N# B
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+)." v6 f$ O4 z: w9 x4 J
  875. ; Be sure to appropriately set the extension_dir directive.# O9 l+ U9 a% m0 X' @. }/ i
  876. ;3 J5 M5 v" k& }2 c' M# J
  877. ;extension=php_bz2.dll
    + X* H: Q$ q: f  S
  878. ;extension=php_curl.dll
    $ J7 Y* G( P2 i( x4 H$ Y' `
  879. ;extension=php_fileinfo.dll
    ) v1 w4 T- t, W
  880. ;extension=php_ftp.dll
    7 a9 f9 m8 d# d6 P. @
  881. ;extension=php_gd2.dll: A0 N( U3 P2 H$ E
  882. ;extension=php_gettext.dll+ u' f3 [, {" k* p4 o" |9 K- C5 L
  883. ;extension=php_gmp.dll
    , q$ J% [! a5 G$ K
  884. ;extension=php_intl.dll
    1 H  v0 u  `* ?: \+ {1 \3 _6 N
  885. ;extension=php_imap.dll
    " y$ T. \: M7 H
  886. ;extension=php_interbase.dll
    ! l% p0 H$ W& W" W$ m% o4 z
  887. ;extension=php_ldap.dll
    " @! f& o, b' ?4 U3 _5 M
  888. ;extension=php_mbstring.dll
    ; f7 y6 X/ w( i5 S7 X
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it6 S1 O7 e4 ?  M4 L6 i% x% [
  890. ;extension=php_mysqli.dll5 Z$ F' n) b6 Z3 e
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ! h# h" y3 |9 W4 y9 M
  892. ;extension=php_openssl.dll
    " V9 h' L! ]: m" W  k0 \
  893. ;extension=php_pdo_firebird.dll
    $ o  q& z# p$ Q2 ^9 E8 F
  894. ;extension=php_pdo_mysql.dll$ S9 W4 k7 k! c; J9 p4 r7 s& J9 r0 A
  895. ;extension=php_pdo_oci.dll8 I9 l/ P  F; u
  896. ;extension=php_pdo_odbc.dll
    7 G$ D# O2 I  _& \. ^  `
  897. ;extension=php_pdo_pgsql.dll
    6 l. L  O$ f/ N7 Q4 G# Y# M  h" C
  898. ;extension=php_pdo_sqlite.dll+ A7 b  q1 u# i5 H2 T) V' W. T" R
  899. ;extension=php_pgsql.dll
    , H$ C0 \/ ^/ b% k+ e! C
  900. ;extension=php_shmop.dll& S( s! E; }/ W# w- g9 S

  901. * p* F* m' K" J
  902. ; The MIBS data available in the PHP distribution must be installed.
    . A+ Z6 |' S+ |6 Z
  903. ; See http://www.php.net/manual/en/snmp.installation.php' o! k5 T4 [3 p6 o9 ^% f$ I
  904. ;extension=php_snmp.dll" D3 j; v) T: F0 \# B2 I8 E$ r

  905. + m* G7 `5 D* b) x5 @/ \% w0 [" A
  906. ;extension=php_soap.dll6 @. G- M* l: l1 C- f6 w) O
  907. ;extension=php_sockets.dll
    ' B5 Q' B" B- w& y: A, {* S) j
  908. ;extension=php_sqlite3.dll
    , f) H2 [6 e9 i9 e
  909. ;extension=php_tidy.dll
    , \/ ^/ n  v( o: `0 P% R
  910. ;extension=php_xmlrpc.dll
    & K8 s  v: A6 [' I
  911. ;extension=php_xsl.dll
    , i0 h: |( p9 o1 e

  912. ! m7 u  r, G' z" f
  913. ;;;;;;;;;;;;;;;;;;;
      _: h+ S9 ?4 L: L9 K3 a7 E' R
  914. ; Module Settings ;6 b$ ]7 G, [; T
  915. ;;;;;;;;;;;;;;;;;;;- `/ f7 K- s, m  O+ V- p4 T! D& z6 h
  916. 6 e/ G6 p; H" c6 z1 g
  917. [CLI Server]  W& A' R, {, E2 j: E1 Y( b
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.% j& K8 q) f9 B" `4 w
  919. cli_server.color = On' ^. M( B2 h% f' U' ^* o! E# ]
  920. * {% L0 Z: C3 @; l$ s' T
  921. [Date]
    4 R- s$ C% K7 g" b% ^
  922. ; Defines the default timezone used by the date functions& c9 n. c4 v4 \+ k2 W! ~. v' A8 \
  923. ; http://php.net/date.timezone/ x. q+ Z4 k1 n' @$ }
  924. date.timezone = PRC5 w9 t# d# b1 d; m. w
  925. 9 a- b4 M3 X0 W- s+ L2 Q9 I
  926. ; http://php.net/date.default-latitude
    6 }+ t" l1 I2 L- M9 w
  927. ;date.default_latitude = 31.7667" c5 w+ d% G7 Y7 }

  928. 9 I8 H) d8 I' Z# J% G( O
  929. ; http://php.net/date.default-longitude; I1 X) r. Y  H6 {! t$ f2 P! i: [
  930. ;date.default_longitude = 35.23339 p6 n& ]$ f% V$ G: C

  931. ! l, D) g* |: j2 {9 @; x' U( {
  932. ; http://php.net/date.sunrise-zenith1 ^/ z  W6 D4 X* X/ W
  933. ;date.sunrise_zenith = 90.583333+ m4 t- }& P! b- N- P6 n

  934. 5 S1 J+ Z# g8 X- V7 c2 b" K3 O
  935. ; http://php.net/date.sunset-zenith
    9 H9 v8 m% y( s" a7 m6 H
  936. ;date.sunset_zenith = 90.583333# f2 L; W; S+ Q

  937. , V$ ]% u: h& }$ J
  938. [filter]8 S* Q2 T2 e6 U& @7 U# K4 U' }  l& E
  939. ; http://php.net/filter.default: `9 @# W6 c" O, h
  940. ;filter.default = unsafe_raw+ P' @3 u2 f: \$ \# t
  941. : l% N6 e1 H0 t0 A7 ^
  942. ; http://php.net/filter.default-flags
      ~- z4 _" d5 i  t1 a7 l8 M- L
  943. ;filter.default_flags =
    7 t$ ~$ }5 F$ P% z+ ]1 I
  944.   I- o) D/ z) _
  945. [iconv]
    2 V5 b! M2 q$ }  K8 H8 \* T
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
      j; F6 |+ n: Q/ ]+ i- @" j
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    " E' f7 u9 g# H9 w' G
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding. ~1 F0 ?5 Z) ]0 T3 U! {
  949. ;iconv.input_encoding =
    6 u: P4 M& k. w2 J7 Z
  950. $ c4 j0 \- u- g. w+ z
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 M9 r! j, |( T1 A7 S& [
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    # w% I' T3 q! ^. X
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 @! x* q7 _9 @/ F
  954. ;iconv.internal_encoding =% ~6 X3 W: o) R, L& L- D$ ]; ]) z
  955. 7 G& u3 D  I6 [) I$ c: g9 P
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + B: ?, w7 S" L. H% B/ A2 y
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    4 D8 J7 ?  S. \, R4 u2 G
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ; G+ {3 U7 q4 ^$ H; ~
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ; \5 N! E! B5 I( Q
  960. ; otherwise output encoding conversion cannot be performed.1 D8 m" U( [5 f6 i7 h3 T
  961. ;iconv.output_encoding =
    7 m" r7 j. ?$ M0 c' [

  962. ' [5 P# M3 F8 L! v+ ?" D- |
  963. [intl]
    9 k  a8 R7 P) a6 k- i& A' I
  964. ;intl.default_locale =
    1 U; Y( ]- |* Y8 b; X' ~) m) G
  965. ; This directive allows you to produce PHP errors when some error
    : i$ h2 T, Y+ \+ A
  966. ; happens within intl functions. The value is the level of the error produced.
    , P" l) V) ]% l4 D3 m; \$ h0 ^
  967. ; Default is 0, which does not produce any errors.% ~) |; s* Q( _9 Q* n  g
  968. ;intl.error_level = E_WARNING
    - C6 M/ p" o% c# q) X. i
  969. ;intl.use_exceptions = 0* D* Q6 w, R1 O  W" u

  970.   O8 @' O. b$ C1 t* _
  971. [sqlite3]( V# E- T6 q8 }# p% `5 _
  972. ;sqlite3.extension_dir =2 W% {! H8 {& T+ }( s
  973. " b4 p. f5 \) Z, k( C
  974. [Pcre]6 l, k2 }& O0 ]9 U; e0 g. p
  975. ;PCRE library backtracking limit.
    2 H" C! G% r, Y
  976. ; http://php.net/pcre.backtrack-limit
    * K( N! u' z+ l$ Q' i
  977. ;pcre.backtrack_limit=100000
    # z- f, w& C( ]! L$ ^

  978. / m6 [$ B7 j9 ~1 L2 ~! Z
  979. ;PCRE library recursion limit.
    7 i/ z$ y! A) L% p5 U9 Q/ F
  980. ;Please note that if you set this value to a high number you may consume all( @% U# n1 f0 H( J# x
  981. ;the available process stack and eventually crash PHP (due to reaching the
    + }8 f+ d0 g5 h
  982. ;stack size limit imposed by the Operating System).
    ' O# i- U8 [7 A* ?9 I
  983. ; http://php.net/pcre.recursion-limit% c% B' J/ o+ W! P) E) K3 G
  984. ;pcre.recursion_limit=100000
    $ q6 }8 z4 k& z  t

  985. ' o$ \3 T! ~/ H. \' f! U
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE8 C# o8 k8 z9 p' g5 a$ N
  987. ;library to be compiled with JIT support.! `' t2 [* T7 W+ Y" `/ i
  988. ;pcre.jit=11 P+ F, C( P1 W$ x( c2 M8 c5 W; S
  989. # p  i5 f. J& o7 _4 m2 n
  990. [Pdo]" t2 {9 N" C1 d
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"! C2 `. I' H7 B$ X
  992. ; http://php.net/pdo-odbc.connection-pooling* H% h; l* R8 j
  993. ;pdo_odbc.connection_pooling=strict2 k# `' E# E. `

  994. 8 R3 A) H9 z% P1 y/ T
  995. ;pdo_odbc.db2_instance_name
    # ?" X2 x& C4 c$ Y

  996. $ p; A* g' J, I& ?* G
  997. [Pdo_mysql]
    2 _  L" U8 G, e- r
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    * J5 c; s! ?3 `! i
  999. ; http://php.net/pdo_mysql.cache_size
    : Z2 s# W# e: s( F5 D4 a
  1000. pdo_mysql.cache_size = 2000$ J2 v# a9 U; d% o% F
  1001. 8 Q/ M- @6 Q' ?% L
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * `' Q2 M; t% s1 H
  1003. ; MySQL defaults.
    * f( r( w# A4 g% ]
  1004. ; http://php.net/pdo_mysql.default-socket  B# ^& `5 v7 ~9 C7 S$ ?2 O
  1005. pdo_mysql.default_socket=
    - }) I( B9 _1 \# k# y9 s" T3 E
  1006. : ], b. H+ [0 s0 E! _( F  l; [6 S: R
  1007. [Phar]
    9 g+ j: u* L  ]6 r& O- M( W6 r
  1008. ; http://php.net/phar.readonly0 C2 ~* X$ k- Y0 p
  1009. ;phar.readonly = On
    , \! n* ~+ Q0 a: u4 s
  1010. ! y( b( |! R* N+ I2 Q  d6 ?# g
  1011. ; http://php.net/phar.require-hash) t7 l3 p7 l/ l
  1012. ;phar.require_hash = On
    * D/ T! n5 N) D
  1013. 0 A- J/ W; a* d6 s
  1014. ;phar.cache_list =
    5 m1 r- {* o  y/ ^, V# ?+ C5 o

  1015. 7 |3 R$ |2 h7 M: d& ?' R! U  \/ O
  1016. [mail function]
    & Q' c7 |+ T6 Z- X3 Q) h' X+ C
  1017. ; For Win32 only.
    ! E3 |7 i4 O* O2 T: m! `
  1018. ; http://php.net/smtp
    3 A9 Q/ |' k% O  t( k5 O
  1019. SMTP = localhost* b: T& g- x; Z# {% t
  1020. ; http://php.net/smtp-port9 E" e. e! a1 P- D8 m7 f
  1021. smtp_port = 25  ^0 q' |  u' l5 `- T

  1022. ' Y; @2 p1 r8 a9 @" |1 D* z
  1023. ; For Win32 only.5 l% B$ L! G3 G6 c# B! X  k  H: J
  1024. ; http://php.net/sendmail-from
    * X( M' p/ v# c3 X7 M9 c2 \
  1025. ;sendmail_from = me@example.com
    % G  e+ k2 Q; Y

  1026. 5 N" d" F  b$ n+ f& x2 o5 c' g
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").# N1 W' Y; o! a0 M
  1028. ; http://php.net/sendmail-path
    4 m% u& n: s! S# _( h
  1029. sendmail_path = /usr/sbin/sendmail -t -i) R; k0 Q/ Y; G# i; L3 u

  1030. 8 x# H4 x7 X# H% l, P3 b- C
  1031. ; Force the addition of the specified parameters to be passed as extra parameters4 X) g( v  y# {+ O( c, F4 \% v
  1032. ; to the sendmail binary. These parameters will always replace the value of
    7 t. B& v! K: d: G
  1033. ; the 5th parameter to mail().
    2 ~+ Z" r) B. h* ]: t; j& ^  r
  1034. ;mail.force_extra_parameters =
    0 a: W. h/ u9 R, X& N

  1035. 6 [9 U1 B1 F# [9 d
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename5 x5 I  Z" ~4 S
  1037. mail.add_x_header = On2 z# }2 k. l6 e8 Z0 k

  1038. 4 B8 P2 j- C% c8 N
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    $ l& i& [. ~$ G7 D7 g
  1040. ; the full path of the script, line number, To address and headers.
      {4 Y) `* c& S  e
  1041. ;mail.log =
    2 w- d0 C- i6 B! e$ O8 Q% L6 i
  1042. ; Log mail to syslog (Event Log on Windows).# w# Y3 t8 {" `; S: c7 q
  1043. ;mail.log = syslog* q% r- g8 ^% F" M" I7 R( n) _" h2 o
  1044.   Q; @, c- e/ P' m" H# J5 }
  1045. [SQL]- {# n3 v* z7 {# d
  1046. ; http://php.net/sql.safe-mode9 N/ R( L. J& {; s. t
  1047. sql.safe_mode = Off
    6 a; ^. Y, Q# ?! C* R" X6 U* t
  1048. - L3 D# _7 |( P* N- T
  1049. [ODBC]. ]7 G- d3 u# w6 ]
  1050. ; http://php.net/odbc.default-db
    1 \5 |* H+ j4 w
  1051. ;odbc.default_db    =  Not yet implemented) t, u. D/ f  L+ B/ c) B+ K
  1052. , O- `+ G' I' \; C" `
  1053. ; http://php.net/odbc.default-user
    ) `2 B/ ~  w. j; R$ {
  1054. ;odbc.default_user  =  Not yet implemented5 \" N4 w9 Y7 s) y% t# S, L0 S. X1 w

  1055. 3 B3 ~) |. q# X& [+ h
  1056. ; http://php.net/odbc.default-pw" Z# E; @4 x: v
  1057. ;odbc.default_pw    =  Not yet implemented. E( P9 o' d' C& U

  1058. 7 w$ q# ?1 Y' B: i" i+ l
  1059. ; Controls the ODBC cursor model.. d% q  O0 i" e6 @9 i% l
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ) E5 F3 Y5 \/ d* u6 S
  1061. ;odbc.default_cursortype, l6 R7 v0 S. _

  1062. , Q7 [% r! U0 v8 q# W
  1063. ; Allow or prevent persistent links.
    + h- Y# V% P; J& x# K1 I; O9 w
  1064. ; http://php.net/odbc.allow-persistent
    6 h6 j$ M+ G2 t
  1065. odbc.allow_persistent = On
    3 J0 X- L4 j2 {7 i. c+ v6 l

  1066. 7 w( A. l0 M# L3 S+ o9 B! |
  1067. ; Check that a connection is still valid before reuse.
    % x; G( y8 F! I
  1068. ; http://php.net/odbc.check-persistent; `6 S, r( ^4 g0 i9 b1 P  M
  1069. odbc.check_persistent = On1 H" S- a* o. c' v! r: G7 p7 u
  1070. 4 m7 b, i) k% g0 k4 p+ R
  1071. ; Maximum number of persistent links.  -1 means no limit.
    8 P/ u2 M- V# c; |, |. R5 D
  1072. ; http://php.net/odbc.max-persistent4 M& r! z: l5 j- K: m8 F5 k
  1073. odbc.max_persistent = -1) l" b' i7 j6 P7 ~" l9 A/ f0 [" W- \

  1074. - P1 w* ~1 T0 \, L" s8 o$ X  i+ N
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% V  K% v4 O5 q
  1076. ; http://php.net/odbc.max-links5 b6 F8 h9 ]% y' D1 k' V
  1077. odbc.max_links = -1
    $ Y  f8 H8 t/ O: O2 z8 X
  1078.   Y+ v; o& w7 n0 `
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means. N) y5 E% n( \" g) K! h
  1080. ; passthru.: @$ D, ?; t4 F8 w& M9 m& ^
  1081. ; http://php.net/odbc.defaultlrl) o1 b6 z1 j2 J/ j- N* m
  1082. odbc.defaultlrl = 4096
    8 Q) \7 b1 Y. C

  1083. & _- P' {4 r9 e$ K9 Z
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    / n) U- ?5 i4 {% r$ \
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation- D. {8 s+ O( N
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    + h# o7 m  ^; C  x% t+ u+ Q
  1087. ; http://php.net/odbc.defaultbinmode
    ; N) _* d: _4 u0 w
  1088. odbc.defaultbinmode = 1
    8 _! A3 h5 w+ E. k& I+ @( r
  1089. ! L7 Y; q) g# \
  1090. ;birdstep.max_links = -1
    & l  m4 f* f' Z$ Y2 L7 d- y

  1091. # [4 I; b* w. G6 S
  1092. [Interbase]) p, D; N4 U$ f5 `' U
  1093. ; Allow or prevent persistent links.3 p& @, E  a2 j5 [. Z6 j
  1094. ibase.allow_persistent = 15 U* ]; C" x8 B2 C) b
  1095. . n' a) u0 p) g
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ' K* p5 f1 q! \/ ~2 b/ ^5 M
  1097. ibase.max_persistent = -1
    2 y" c! U$ n/ J5 U5 p+ ~/ M# ~

  1098. ' s6 t0 p. i! W% C
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! _. s' b' v6 B0 p! b
  1100. ibase.max_links = -1: }0 v& D5 D9 n

  1101. : o; u) V' c; ?7 ?* s$ R; ?% W
  1102. ; Default database name for ibase_connect().8 Y# q( c# k' k, K9 D" U8 M6 m2 X/ ?
  1103. ;ibase.default_db =
    / h) ~1 W( f* v, {5 [& F! a# e
  1104. * S1 V2 U2 }0 _) p% }# i
  1105. ; Default username for ibase_connect().! E4 h- E/ v7 F( V
  1106. ;ibase.default_user =
      z8 E" d+ ^6 m+ ~# J
  1107. 0 B  b4 r6 P7 ~, m
  1108. ; Default password for ibase_connect().7 y$ r' b, f! o- s! d2 c/ N
  1109. ;ibase.default_password =
    * B  A; Y/ h. i  e3 C) \
  1110. 2 j3 t+ j, M; m6 w& C
  1111. ; Default charset for ibase_connect().
    ; u- z& S1 S8 c3 N5 Q
  1112. ;ibase.default_charset =7 g" e: l# J- U" d7 A
  1113.   |7 C9 T  M: i
  1114. ; Default timestamp format.
    2 M# q5 \# k- H  n
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"8 g  }, b" ~5 `% `0 k+ Q, |8 p
  1116. - I& W3 M/ N7 c/ p( V% @; Q+ h* Z
  1117. ; Default date format.5 o; _6 c( W( D6 l2 }' @( }
  1118. ibase.dateformat = "%Y-%m-%d"
    ; R* P3 b: s' X7 C! \

  1119. 8 T. o8 T- P$ Y, w, o  ^
  1120. ; Default time format.; x/ @5 T4 G/ q7 J) S  d' K/ k6 L0 }
  1121. ibase.timeformat = "%H:%M:%S"5 C5 a7 T, f4 `

  1122. ; `0 [8 C4 S% x: b" M
  1123. [MySQLi]
    & O4 `) |/ Y; R
  1124. # H8 N5 t( ~) U
  1125. ; Maximum number of persistent links.  -1 means no limit.
    7 x" j, Z" n' G8 t, @8 C
  1126. ; http://php.net/mysqli.max-persistent
    3 ^  L1 {# O8 F3 m' I" r
  1127. mysqli.max_persistent = -13 J. W. f. i, P( X

  1128. " F& ?. V# z% }+ v" ]9 G
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements2 ^: o& l1 B! X$ }6 p2 D) ~* I7 ?
  1130. ; http://php.net/mysqli.allow_local_infile
    ; a& G/ b8 i% X& G, P
  1131. ;mysqli.allow_local_infile = On
    8 Y- M8 F1 |! j+ Z4 z

  1132. 8 I- o; j3 M, K" d4 e7 M" i- \  j
  1133. ; Allow or prevent persistent links.
    $ a# l; I9 |* B1 \) ^+ m% A* a
  1134. ; http://php.net/mysqli.allow-persistent
    ( O1 d3 A4 ]/ K& n, c; F
  1135. mysqli.allow_persistent = On9 ^9 y0 j* W' k# H6 Y; z$ \2 }

  1136. , y/ J# j) Y* L3 N- _# d
  1137. ; Maximum number of links.  -1 means no limit.% A' u1 O# M( O* k& ^5 `0 U
  1138. ; http://php.net/mysqli.max-links1 j' \1 B. t2 W5 t  U7 d( q
  1139. mysqli.max_links = -1) p; p, }9 D  |- Y
  1140. 3 t" U- h) i$ Z0 [3 R
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , Q6 B% x; r2 r" Q# [4 z4 P; m, Z
  1142. ; http://php.net/mysqli.cache_size
    3 n; [9 o) O& c  y3 I
  1143. mysqli.cache_size = 2000
    , h+ O5 {1 c: u; X6 n
  1144. . h1 i6 N* m0 q/ U
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use% g! t1 g* w' P' i3 b# n
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    % I$ S/ P: `7 k; }7 F! C9 ?
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    6 s# w% C2 o+ P" D% r- `
  1148. ; at MYSQL_PORT.
      m+ k* l; w4 N! G
  1149. ; http://php.net/mysqli.default-port0 [9 m, p2 @) s$ b
  1150. mysqli.default_port = 3306
    9 ?$ X6 {- R2 V; F* X( S3 ?

  1151. 2 ]1 [7 L& Y3 C3 e
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      x* Z: F6 E8 e4 i4 H8 W
  1153. ; MySQL defaults.& D2 B7 N; v: _$ ?
  1154. ; http://php.net/mysqli.default-socket
    5 E3 T- G5 @* ]. B$ b
  1155. mysqli.default_socket =
    $ |* {$ }3 I! D2 \7 Z8 j+ ~: |
  1156. 7 ^$ d, ]5 _( ?
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).3 t% R6 e6 Y: k" ]- w. n3 L$ d
  1158. ; http://php.net/mysqli.default-host
    ! ?' [* M" K, Y
  1159. mysqli.default_host =' L  I% J; m# L3 Z) [
  1160. 2 v+ o$ Q, b' Q+ P- B4 ?
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).2 T4 y, l6 z% \
  1162. ; http://php.net/mysqli.default-user) ~# c% V: T( g% y7 I
  1163. mysqli.default_user =
    0 p+ J) R$ ?5 _4 i# ^
  1164. ! D$ [' v; \+ I; ~
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).$ A9 D- Z, d- `4 B5 H; z6 H; H
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.2 o! m$ z" J# l+ f2 _
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")% E7 R1 H9 Z* z  ~0 R: E: B0 F, B
  1168. ; and reveal this password!  And of course, any users with read access to this
    + X: Y& k, H8 v: Y3 G! c3 H6 ^
  1169. ; file will be able to reveal the password as well.
    0 i- f! a# U+ u
  1170. ; http://php.net/mysqli.default-pw5 ~1 [8 v( K% L3 N+ j
  1171. mysqli.default_pw =
    $ D% R- ]+ i* b/ w0 y% d7 f& o" y
  1172. 1 }0 L: b; i. F& P) U; J
  1173. ; Allow or prevent reconnect7 m( b# E1 o3 I* K
  1174. mysqli.reconnect = Off- x+ z! O, j( y0 ~0 w  m* I
  1175. 9 a' Y( c0 D0 H/ |
  1176. [mysqlnd]5 \, k% ?: \9 Y, z+ V
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    , c( Q( `8 N) s- M/ J- C
  1178. ; used to tune and monitor MySQL operations.
    6 k. ?& F6 L  e( u7 c
  1179. ; http://php.net/mysqlnd.collect_statistics; w' ?9 ^8 d/ |$ A% R7 Q( |1 a& n
  1180. mysqlnd.collect_statistics = On* z3 s/ \# X8 e0 \" T4 N: V
  1181. # d/ K- m/ Z3 F1 M0 o9 J1 w2 I
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      x( U' @1 T- S. i
  1183. ; used to tune and monitor MySQL operations.
    2 X, _! [  x% d: q9 F0 H9 F
  1184. ; http://php.net/mysqlnd.collect_memory_statistics+ n# X% @) k( U' a, H
  1185. mysqlnd.collect_memory_statistics = Off
    ! R' x6 a) Q4 X
  1186. 4 Z7 L& _0 y( v
  1187. ; Records communication from all extensions using mysqlnd to the specified log- ]$ w2 t' g- A3 y
  1188. ; file.
    ' _( j" t& [( n9 j' }7 B6 i. }" a9 F
  1189. ; http://php.net/mysqlnd.debug
    ( l; e) b+ ^/ D( L+ ~  X/ N- M
  1190. ;mysqlnd.debug =
      ^. G6 V" x6 Z6 K! Q3 l# t

  1191. ( h7 t  ~) C  L: e" {, `
  1192. ; Defines which queries will be logged.
    5 y3 ~/ k8 N4 N* j' [7 d- O
  1193. ; http://php.net/mysqlnd.log_mask
    " [- `' i8 R% V9 x
  1194. ;mysqlnd.log_mask = 00 [6 _; s3 U  v' W" R

  1195. % {" Z7 O/ W( {: b7 V& j6 c, v
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
      h2 z+ h9 K# G0 b( e2 ~* @* G
  1197. ; http://php.net/mysqlnd.mempool_default_size( h. a) ~+ A  m# `; |) `/ a! N
  1198. ;mysqlnd.mempool_default_size = 16000& `+ K+ \  G7 A! W8 W7 K
  1199. 4 o+ H4 @! O2 |8 i/ P
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes." u$ T0 ~% {$ S% b% `
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    & h+ Q3 ^# \/ t# a  D* J9 u! p% e$ u
  1202. ;mysqlnd.net_cmd_buffer_size = 2048  N! h7 n6 H" v+ H
  1203. . u& R7 F& I+ `$ B4 l( i
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
      t% [& f5 ^( L" M$ Y; N3 m; ?; ]
  1205. ; bytes.: l+ r0 ^, H5 z: `/ N  ^
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    & S% j( ~* A1 J3 M0 \2 k8 }
  1207. ;mysqlnd.net_read_buffer_size = 32768
    3 k& O4 y/ f0 e

  1208. 5 L! _" ~( j) h' L
  1209. ; Timeout for network requests in seconds.! _' E/ b; ]9 G/ o& E! q* m
  1210. ; http://php.net/mysqlnd.net_read_timeout, h, G# p, @* G3 I8 R/ d
  1211. ;mysqlnd.net_read_timeout = 31536000
    . x! ~# ?' y% N7 \" U9 t, v7 ~% R
  1212. % ^* Z% p6 [( ~9 @; [5 n
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ! H- ~( q, l* L% Z! r) ^0 Q
  1214. ; key.
    1 n! F* o- j6 L7 \
  1215. ; http://php.net/mysqlnd.sha256_server_public_key/ E% g- A6 l" I. P, h' {
  1216. ;mysqlnd.sha256_server_public_key =! n2 |* U/ p' m, n8 P
  1217. # m$ g7 f0 c# W6 n, r" Y/ p
  1218. [OCI8]
    * x% P9 g6 \5 _' J- n6 Q

  1219. 0 e/ [! b" g+ G/ b4 T) S' d
  1220. ; Connection: Enables privileged connections using external, M: X. t' V# _4 ]+ I
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)' d) v% M, F8 \8 H
  1222. ; http://php.net/oci8.privileged-connect
    : z; Z8 A& j/ x, L# R4 r+ h
  1223. ;oci8.privileged_connect = Off; d. y$ u4 t5 J0 l- [0 l8 U

  1224. ' q( _  [( X0 I8 p; I1 v- w9 Q
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    2 g# p/ ]% n9 R6 A$ l
  1226. ; process. Using -1 means no limit.
    # `9 e3 k$ P/ V( c; R) W0 z7 d* l
  1227. ; http://php.net/oci8.max-persistent
    ; y4 q: j: o3 Y
  1228. ;oci8.max_persistent = -1
    " f  Y' c6 Z0 P; w% l6 b

  1229. - C; M4 m3 C& O" \: J8 F
  1230. ; Connection: The maximum number of seconds a process is allowed to
    : N; g( C& v* ~) e# _
  1231. ; maintain an idle persistent connection. Using -1 means idle
    4 Z' K7 b0 T/ k% e) H0 ^, w
  1232. ; persistent connections will be maintained forever.
    7 K# W2 W" j- h) ~
  1233. ; http://php.net/oci8.persistent-timeout0 i' X" y6 a4 z6 m- R$ @
  1234. ;oci8.persistent_timeout = -1
    3 s' P. f# g) J. t+ J& A
  1235. 3 o8 {! E, k) z' u
  1236. ; Connection: The number of seconds that must pass before issuing a' x7 }- W4 A( e) V
  1237. ; ping during oci_pconnect() to check the connection validity. When( v+ C: W/ F: c) u+ O
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    % x0 e( V7 @6 ?1 g& o( X  M
  1239. ; pings completely./ {4 S8 V+ b9 Y+ J! G1 x$ r
  1240. ; http://php.net/oci8.ping-interval7 C. l6 r( F$ q0 \2 G5 C$ e
  1241. ;oci8.ping_interval = 60, [7 S% U4 V& q) L( {

  1242. 9 I# [' E' W) u1 A9 G6 d3 Y. x% d
  1243. ; Connection: Set this to a user chosen connection class to be used; z- s2 P5 j! p. e/ l2 E
  1244. ; for all pooled server requests with Oracle 11g Database Resident( C. C% K* w5 d- Z! G1 K/ {+ E  A" |
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    + J3 g  _6 I& d! n  L! r
  1246. ; the same string for all web servers running the same application,
      s, b, ~! L; ^5 U  D
  1247. ; the database pool must be configured, and the connection string must0 q) f3 m' k9 y0 z. M) ?: E
  1248. ; specify to use a pooled server.; A1 l1 _; }- {6 F: P
  1249. ;oci8.connection_class =
    # A( p0 E* s) u6 ~- p8 W: |4 F
  1250. ! |0 B' E* A9 j0 S+ m! B
  1251. ; High Availability: Using On lets PHP receive Fast Application- p" Y3 m' {6 K' x# _( q
  1252. ; Notification (FAN) events generated when a database node fails. The
    " |8 P& h6 ^* O4 M0 [
  1253. ; database must also be configured to post FAN events.0 r7 L6 [  f! r. d2 `% v8 O: u
  1254. ;oci8.events = Off
    ; O- Z9 T( C' y" V0 r6 H
  1255. - H% z) t; `. C0 C& q; h
  1256. ; Tuning: This option enables statement caching, and specifies how  M, a+ H8 {4 P- n
  1257. ; many statements to cache. Using 0 disables statement caching.
    3 G8 l3 Z1 }: r% V
  1258. ; http://php.net/oci8.statement-cache-size, }9 @& W+ G1 |
  1259. ;oci8.statement_cache_size = 20
    6 R; k2 `% E* @

  1260. 1 O7 H# Y4 l* }/ L
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    / q; r( A# u% O' P" P6 r
  1262. ; rows that will be fetched automatically after statement execution.
    8 Z4 ~  T: i8 z# w. v% K
  1263. ; http://php.net/oci8.default-prefetch
    5 V+ w( v& C* ^" c. o5 [
  1264. ;oci8.default_prefetch = 1008 a2 y, y% B6 R& r
  1265. 7 [6 L! e# T) v- z) `
  1266. ; Compatibility. Using On means oci_close() will not close8 r  ]3 y; Z; L! _- ]3 c/ {
  1267. ; oci_connect() and oci_new_connect() connections.
    1 g+ P5 W4 L0 R7 s7 N. u: A
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ; ^# ^9 T- N( [8 H
  1269. ;oci8.old_oci_close_semantics = Off" e8 M8 \0 ^- g/ d: {5 n

  1270. ! {) X1 O" P6 o8 c
  1271. [PostgreSQL]7 l2 C8 q; W9 m8 t+ k' x$ I
  1272. ; Allow or prevent persistent links.( ~" Q, V7 K: y2 b; u: I* {$ }
  1273. ; http://php.net/pgsql.allow-persistent
    $ p* o# |3 l4 N! H+ d* J, R
  1274. pgsql.allow_persistent = On
    1 h7 m* k0 N# H
  1275. ) W- }3 Y8 p$ v. R. J$ ^% v; W5 ^
  1276. ; Detect broken persistent links always with pg_pconnect().- |1 g% {; s6 H3 C; B) O
  1277. ; Auto reset feature requires a little overheads.
    7 z. y) h6 ?0 V9 N5 m8 T% C% K# J
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ( o' @( R, N: J4 _/ b3 i7 |# c
  1279. pgsql.auto_reset_persistent = Off
    9 V: x" |; z6 @5 D2 S
  1280. 8 m0 I) X3 s, U- a
  1281. ; Maximum number of persistent links.  -1 means no limit.
    5 p% n4 T3 a4 B7 }! t4 ~" z
  1282. ; http://php.net/pgsql.max-persistent  i: P* J& J8 _! [' H5 m! m
  1283. pgsql.max_persistent = -1% ~9 o' \! \0 u
  1284. 8 X# W/ u3 F6 D2 y6 A
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( e3 c6 Q; B9 J2 P/ K6 I
  1286. ; http://php.net/pgsql.max-links
    & B2 F$ f/ x( T  H0 G( d+ a
  1287. pgsql.max_links = -1$ G; a- |  x) ^& j: w: @

  1288. + J& ^% L! A: [# K
  1289. ; Ignore PostgreSQL backends Notice message or not.5 n1 \0 A1 v( y( T, {; Z  I
  1290. ; Notice message logging require a little overheads.
    3 o( L1 R9 s) U: H/ W' ^
  1291. ; http://php.net/pgsql.ignore-notice
    6 x+ ?2 m! A' `0 j3 e4 W
  1292. pgsql.ignore_notice = 04 K4 O9 n  x( B7 t3 \; h) @

  1293. 9 B1 R( \* M2 v0 F$ d7 d2 d' P8 d
  1294. ; Log PostgreSQL backends Notice message or not./ x: O/ w+ s: B* i% t$ r) I+ _
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 Y3 P+ B4 u! V6 p5 l2 T' a6 ]9 V
  1296. ; http://php.net/pgsql.log-notice
    ( ~9 v  |1 R8 b8 z, @/ M
  1297. pgsql.log_notice = 0
    $ A6 s" I5 `9 b  y; z+ e

  1298. ; v2 Q/ p" C9 E6 f8 Z+ F
  1299. [bcmath]. ~  D" W* E7 [6 _
  1300. ; Number of decimal digits for all bcmath functions.+ }/ D6 S) K4 S3 C* U6 ?5 x4 w, f
  1301. ; http://php.net/bcmath.scale
    3 }, E& i) f9 m" o8 o& `
  1302. bcmath.scale = 0
    6 Y/ W9 i, @$ ^7 x* @- e1 h
  1303. 2 S& ?( V, P* M/ y. }* |' `! p
  1304. [browscap]
    ' V( Y! ?/ k5 V4 V
  1305. ; http://php.net/browscap2 e6 q" M% z* e7 I2 ?, w
  1306. ;browscap = extra/browscap.ini
    - u2 d0 O3 F! Z; Z0 b1 H

  1307. - F6 n  K2 _8 i+ K* I- B" b
  1308. [Session]4 y, {2 |6 S  B1 G, A1 l4 s
  1309. ; Handler used to store/retrieve data., Q5 z$ [7 H: F1 E5 V
  1310. ; http://php.net/session.save-handler- X0 s; E" M3 g- {) \% ~3 X3 f
  1311. session.save_handler = files- ~# `0 t+ `" R7 A$ {
  1312. - G* ^5 m; Q4 F. X
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    0 g+ g/ ^( @# e+ ]' l8 K
  1314. ; where data files are stored. Note: Windows users have to change this
    3 x( J3 x. N# Y0 Z* M
  1315. ; variable in order to use PHP's session functions.* ]3 `: j  D) k; ]
  1316. ;% \' b! D" ~: v
  1317. ; The path can be defined as:
    7 l) ~5 g+ V) G- {
  1318. ;
    3 g5 w7 p  q# Y) S* B! y; e
  1319. ;     session.save_path = "N;/path"
    9 H2 @, ?9 t% V, M7 X, Z2 h5 Y1 I
  1320. ;
    6 M7 x" t/ }; r8 q. s/ j
  1321. ; where N is an integer.  Instead of storing all the session files in
    # A% s" S7 p* J8 p
  1322. ; /path, what this will do is use subdirectories N-levels deep, and- W# ]8 ]3 I) }- X. s
  1323. ; store the session data in those directories.  This is useful if$ h6 E) I: @% |. y7 `
  1324. ; your OS has problems with many files in one directory, and is
    * _! F2 i: x3 N: L
  1325. ; a more efficient layout for servers that handle many sessions.* S) E) G" B+ r
  1326. ;1 t/ E( L9 i" k( m, V: N) }
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    9 @  V9 Y- x) c
  1328. ;         You can use the script in the ext/session dir for that purpose.2 I7 o2 B$ O: y6 g$ W; W
  1329. ; NOTE 2: See the section on garbage collection below if you choose to% n3 D- p8 l& v+ U6 H7 j
  1330. ;         use subdirectories for session storage& y2 q/ @/ T! ^* i
  1331. ;: g1 o: b3 u  C+ v* @8 l1 O8 n7 o. h! P
  1332. ; The file storage module creates files using mode 600 by default.
    + h$ q+ k, g3 C6 v4 i
  1333. ; You can change that by using6 g* s) {+ E, v) v
  1334. ;5 \, N' Y8 B0 f+ h4 c
  1335. ;     session.save_path = "N;MODE;/path"
    ( u# I: p% w5 @1 v0 R. t
  1336. ;) ^# e: }8 V! g# t1 N
  1337. ; where MODE is the octal representation of the mode. Note that this
    . R5 p% K1 U6 `( {, e' \$ R4 V
  1338. ; does not overwrite the process's umask.
    1 n, l' N4 Y$ G3 m# \
  1339. ; http://php.net/session.save-path( Y4 p0 ^! H; `
  1340. ;session.save_path = "/tmp"
    & I9 _9 y, ~' m* }
  1341. ; Q" _. e! J; j% I4 Z% q) L
  1342. ; Whether to use strict session mode.
    5 u) J8 d! p4 x' ?, c  B
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    " E4 o  x$ f; p. i% q$ ~5 q- z* N
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ! O1 f4 f$ ?7 k7 W; ?+ F9 l* @
  1345. ; applications from session fixation via session adoption vulnerability. It is  [; [$ e/ y$ [5 c' I: f7 P( f- b
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.  e8 D' Y- }6 F- K& W
  1347. ; https://wiki.php.net/rfc/strict_sessions
    " X" F6 a) x0 \+ h+ Y
  1348. session.use_strict_mode = 0; w) c0 o1 t( k  T% m1 O
  1349. " |4 N' Z* \, Z- W  [: u
  1350. ; Whether to use cookies." Z/ ^6 T* ^9 M4 b
  1351. ; http://php.net/session.use-cookies6 \# Y$ j- ?2 Z! J# @
  1352. session.use_cookies = 1
    + S; V+ z' U0 N

  1353. . S/ u7 z6 e% Q
  1354. ; http://php.net/session.cookie-secure
    7 J% \" @% x- v) v
  1355. ;session.cookie_secure =
    3 c% H  I, o2 R* X. E$ \

  1356. 4 |, j4 P. u, {/ s
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! E. e; [+ [5 N% g, T
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ; i6 r; p' M5 `/ R& {; Q
  1359. ; session hijacking when not specifying and managing your own session id. It is
    3 x3 a8 u0 @, t6 Q+ Y1 d  q
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.$ m0 V9 L" J3 d+ I( U9 ]* [, v5 f
  1361. ; http://php.net/session.use-only-cookies
    9 s0 Q( a3 L/ s" J! z/ A
  1362. session.use_only_cookies = 1
    # S/ l4 p0 h* V* E$ ^$ w
  1363. " p. `7 \- o) Q/ R& d
  1364. ; Name of the session (used as cookie name).* x* `4 Q. O0 Z  J9 D: f
  1365. ; http://php.net/session.name9 Y( d1 a; X1 U1 |) Z; ]- F
  1366. session.name = PHPSESSID& h' v& v; M/ ~9 j, ^0 y0 n4 g0 N, L

  1367. ( A+ U3 P3 o8 D  x2 v& F$ L
  1368. ; Initialize session on request startup.
    : @) \) [5 R6 @' c
  1369. ; http://php.net/session.auto-start
    ( S; N9 Z7 `3 @  J
  1370. session.auto_start = 0
    8 `+ i: ?- H, W7 M$ L* t- x7 J7 u4 |# w

  1371. , p# W- q2 Q* H9 Q  v% q
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    7 C' S. P, d- W8 p* k
  1373. ; http://php.net/session.cookie-lifetime( x, l. [8 `; m  F: I$ k8 j
  1374. session.cookie_lifetime = 03 V3 q+ w5 @' N1 f* G$ U3 B
  1375. 6 R' z3 _( U. R
  1376. ; The path for which the cookie is valid.* ]: K9 C- f! g6 U& L
  1377. ; http://php.net/session.cookie-path
    " Y4 X% y2 q3 \
  1378. session.cookie_path = /4 t6 \3 H# L1 [& J$ J3 @) E

  1379. 2 l( [, ]: t4 c- Y
  1380. ; The domain for which the cookie is valid." t: N9 [3 m  U! S" q( Q
  1381. ; http://php.net/session.cookie-domain2 W% R6 _1 H0 G: m- {
  1382. session.cookie_domain =
    3 e  K$ F2 y* D# k3 w+ w

  1383. & _. g3 O$ i) E; Z3 n# j; S- u7 Z
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    * X% T7 ]8 i4 l. K" Y+ [
  1385. ; http://php.net/session.cookie-httponly
    ) _! w2 S; m. b" `1 o# c* ^
  1386. session.cookie_httponly =
    1 V- U. A( l" S: o  ~: D5 j* f
  1387. . W6 W% G- g! T! }- w) o1 d
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.% R8 m/ u9 K$ P" S% w
  1389. ; http://php.net/session.serialize-handler  o+ w% x6 O. [5 Y- z3 f* y
  1390. session.serialize_handler = php
    + m' d# E, L0 O3 p  @7 @7 Z

  1391. / O9 x, n( h% R$ n2 p0 W
  1392. ; Defines the probability that the 'garbage collection' process is started1 G; p  |' r- A+ L/ a
  1393. ; on every session initialization. The probability is calculated by using
    % H$ y# Q( Q* I/ ?% c
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator) t2 a7 g' {- c: n% c, E  T
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    # A) S% k! ^" h
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , d" h# D# }( {4 C  d3 d0 N4 \% X
  1397. ; the gc will run on any give request.
    ' ?% E5 v3 m, c, X
  1398. ; Default Value: 13 s- o0 B( T4 ~, n; U' D( k
  1399. ; Development Value: 1
    # h& s3 [& y0 }
  1400. ; Production Value: 11 M3 D3 a, S2 b: i# Z; c
  1401. ; http://php.net/session.gc-probability
    6 Z5 s, n5 I0 {
  1402. session.gc_probability = 1- V9 \5 C9 M' E9 d/ i
  1403. * F0 H' y8 O6 V( R2 Q! E
  1404. ; Defines the probability that the 'garbage collection' process is started on every6 H5 a9 ]2 E2 j
  1405. ; session initialization. The probability is calculated by using the following equation:
    ' P- C2 h- v  K# ]- e
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and5 v1 }, d8 B; k1 ?# H4 N' r
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 19 c& `# Y' U& K) N' h$ y3 T
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( y0 a+ g9 c) {0 o& X+ z
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    6 c- c1 @0 N$ R$ n
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( }# W' t) l6 q0 \; e# L, l+ @* z
  1411. ; this is a more efficient approach.
    , Z" [* U9 J# o
  1412. ; Default Value: 1001 t# H' ]# X* a! W
  1413. ; Development Value: 10004 v4 }" ~" I9 {2 }& @
  1414. ; Production Value: 1000' V: q9 q9 H7 F0 n8 h, k) d
  1415. ; http://php.net/session.gc-divisor5 X8 F& m. k) X2 `& ~! i
  1416. session.gc_divisor = 1000
    / _& f  i- G% z' G# V/ @# d$ N
  1417. ' n' Y' h+ V8 k9 x5 V: |# H- ?1 S
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and! e3 n5 @( u5 [6 H6 C0 m
  1419. ; cleaned up by the garbage collection process., a" D. H% ^) X
  1420. ; http://php.net/session.gc-maxlifetime
    3 J8 \* U. H3 e3 b9 l9 O
  1421. session.gc_maxlifetime = 14402 d( b6 I9 N! ]0 P  h7 z1 x
  1422. & N4 ]% J5 G' L8 e+ ~- c
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    8 ^# ?! ^3 H8 a: [# T
  1424. ;       (see session.save_path above), then garbage collection does *not*4 y& T1 v/ |6 ^& M' u& I- z: z0 |# G
  1425. ;       happen automatically.  You will need to do your own garbage, o& i. o/ c  m4 t) Q
  1426. ;       collection through a shell script, cron entry, or some other method.: ~! {0 a' |0 d$ l
  1427. ;       For example, the following script would is the equivalent of
    % g2 I  h3 `' |) F6 \' O2 `/ w3 {
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ' G$ l' F$ L3 q6 _3 M
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    & A/ w/ @) L0 I8 E9 u) [0 l

  1430. 4 Q  y& u9 @0 l  `5 F4 N1 @6 l9 r+ p
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.- c8 z' R" k; ~$ W
  1432. ; HTTP_REFERER has to contain this substring for the session to be5 Y, V$ O3 x) }- c, E) C
  1433. ; considered as valid.
    3 Q/ M' q7 t/ @4 Z2 v5 Y/ H
  1434. ; http://php.net/session.referer-check5 {; }6 m3 Z, R) F9 @
  1435. session.referer_check =
    : \* `: S, I3 r" l0 Y

  1436. ! E& l5 d& u" z9 p9 N5 R  ?
  1437. ; How many bytes to read from the file.& H: T: e; [$ r
  1438. ; http://php.net/session.entropy-length
    & n2 K/ Q. q- I
  1439. ;session.entropy_length = 322 v+ u1 `4 N# O9 `8 K' _" ?

  1440. , p# ]1 H4 i: G6 ~/ S+ E% r
  1441. ; Specified here to create the session id.. J0 z$ `' K; k2 j. x/ Y9 [
  1442. ; http://php.net/session.entropy-file- p! h8 j2 q& L- m% A$ u
  1443. ; Defaults to /dev/urandom
    8 ^8 e9 c) ^" n# O; }; h4 N$ A5 o
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom1 t4 T9 `6 C" s# r$ n, H) r
  1445. ; If neither are found at compile time, the default is no entropy file.( L! d8 k( w4 [, E+ w$ i0 X5 G
  1446. ; On windows, setting the entropy_length setting will activate the
    ) x6 o, v" m3 y' B5 U' m
  1447. ; Windows random source (using the CryptoAPI)  P! n# k; |, z. _, C- S5 y
  1448. ;session.entropy_file = /dev/urandom
    , |+ m8 B4 f3 x! u' |- w/ c
  1449. 4 n: m( j  F* {0 x) g* a
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ Z  F- M* ~4 Z% Y& `* S
  1451. ; or leave this empty to avoid sending anti-caching headers.! i8 L6 B2 n' r3 x! p4 E+ r) s# r7 T
  1452. ; http://php.net/session.cache-limiter, @& v8 d$ k1 y2 j
  1453. session.cache_limiter = nocache
    # ~# J$ L, V+ X( H. c' S$ [

  1454. 3 Q0 h! I. i7 p2 g$ V3 y) N) C
  1455. ; Document expires after n minutes.
    % a5 s* ]4 X8 b6 ^! |2 a& c' m
  1456. ; http://php.net/session.cache-expire% ]; e$ G8 _( J  Q7 z/ Z* f0 w
  1457. session.cache_expire = 180
    $ A7 X1 X& J" o9 [

  1458. 3 j8 G0 B. ^* j+ o, l9 a
  1459. ; trans sid support is disabled by default.8 X4 f% `  i  r( e; a
  1460. ; Use of trans sid may risk your users' security.4 t, s' ~  L2 m% K
  1461. ; Use this option with caution.
    : B$ C# ^9 _! ?4 b
  1462. ; - User may send URL contains active session ID: r# F! P9 K& i; L
  1463. ;   to other person via. email/irc/etc.
    7 |4 W$ a. F3 f6 L- m* P
  1464. ; - URL that contains active session ID may be stored
    ' }8 I! f; i8 N8 C; {8 O( A
  1465. ;   in publicly accessible computer.& C5 m9 x2 S4 J' ?" \0 i
  1466. ; - User may access your site with the same session ID
    - e) O" E# h. {6 ~0 v
  1467. ;   always using URL stored in browser's history or bookmarks.1 H4 I% P4 x3 M/ d) X& U9 h
  1468. ; http://php.net/session.use-trans-sid
    9 r4 y0 I. J2 M; X9 F; D$ ^
  1469. session.use_trans_sid = 0
    5 f' M5 C4 Q( B" e6 T8 Z

  1470. $ \$ B# w; E* D+ e: L( n. U
  1471. ; Select a hash function for use in generating session ids.: F2 U, s/ o( G
  1472. ; Possible Values
    % i; ?$ g0 a2 I) v. q  ?1 p
  1473. ;   0  (MD5 128 bits)
    ' @3 P9 `( z. E7 A0 w7 n; q0 `
  1474. ;   1  (SHA-1 160 bits)
    7 I9 D7 Z, c7 ~7 @# k6 ~& R
  1475. ; This option may also be set to the name of any hash function supported by( H! K) j0 T0 A; B
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()$ C& f+ _2 W3 N* C, u( X( H( ]4 a3 |
  1477. ; function.
      v0 G0 C7 o# v( K
  1478. ; http://php.net/session.hash-function
    ! ~/ I$ Z7 x5 }. E! F
  1479. session.hash_function = 0/ G+ c8 }; k& o+ y- I# I  R; G

  1480. 5 ^' V: B9 H: ^
  1481. ; Define how many bits are stored in each character when converting! s* Z  w8 e& k* o
  1482. ; the binary hash data to something readable.% m+ }. @8 r4 L/ ~* X
  1483. ; Possible values:5 H1 ~( n* V; r4 V
  1484. ;   4  (4 bits: 0-9, a-f)
    8 g+ u% K% b# `1 u3 Q, E
  1485. ;   5  (5 bits: 0-9, a-v)) g5 b2 Q/ A7 u. k
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","): O- Q" ^& x: T! K2 ^
  1487. ; Default Value: 4
    0 [! ^# _2 s) K6 a  ~+ k
  1488. ; Development Value: 5
    6 E0 k' b  y  {2 S3 i  p
  1489. ; Production Value: 5: {  C. [' e7 c1 \$ }( K+ I% ~5 y  W
  1490. ; http://php.net/session.hash-bits-per-character
    , L3 Y5 X! o( ?. Z3 o2 n
  1491. session.hash_bits_per_character = 5
    & W' X# n- l0 w7 j

  1492. ; S/ B* e# u- y- I' X9 W: ~6 T
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.( T& y. S- J. w
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    : J0 ]; K6 H% @. E4 p% P
  1495. ; add a hidden <input> field with the info which is otherwise appended
    : a1 L$ ?4 k" [  e- Q4 [
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    1 ]4 d& H" [' S3 v' X5 K* ~
  1497. ; Note that all valid entries require a "=", even if no value follows.
    - ^# Z4 Z8 M, h; x3 V* Q
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * {: g6 q/ n5 j. ~% f
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! ]) l* g6 a' r6 I6 j
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". I/ M& d6 \2 K) F
  1501. ; http://php.net/url-rewriter.tags0 \0 X% S5 [# c7 G$ N6 s
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"; w' ]2 E$ a6 O
  1503. 9 X4 b3 V: L4 @# m- H
  1504. ; Enable upload progress tracking in $_SESSION
    . v* q% v0 Q. Y' L% J
  1505. ; Default Value: On
    * I# ~+ W1 R# ^( Z8 N
  1506. ; Development Value: On
    1 f. |) {+ H; a
  1507. ; Production Value: On6 s" h5 v; C; z" n+ w
  1508. ; http://php.net/session.upload-progress.enabled2 Y6 H0 r: e" |+ a6 m
  1509. ;session.upload_progress.enabled = On, ^9 b. Z( m$ V* \- m3 }. f
  1510. , s2 t# U9 A% z  b, i
  1511. ; Cleanup the progress information as soon as all POST data has been read; U' |2 ?2 F: S/ [. U
  1512. ; (i.e. upload completed).
    % e) ~+ H/ q! s; H: w
  1513. ; Default Value: On
    / I5 a. Q" ~6 Q, R' X0 ^6 q
  1514. ; Development Value: On. h2 ?7 u+ D, N2 W* ^
  1515. ; Production Value: On( U3 x. d6 s- X; x# J
  1516. ; http://php.net/session.upload-progress.cleanup
    ' F& e7 F- P& _- {& K7 v: e
  1517. ;session.upload_progress.cleanup = On
    ( i: C% \$ A+ e0 D' W1 t+ s
  1518. $ e. r2 K7 ]4 S" E/ z4 D
  1519. ; A prefix used for the upload progress key in $_SESSION
    ' C. z  g" Z, y
  1520. ; Default Value: "upload_progress_"7 r" C* ~6 t+ L2 S# o: h6 }* w9 o
  1521. ; Development Value: "upload_progress_"# d/ N! Z. {* F6 o* N. C
  1522. ; Production Value: "upload_progress_"
    9 _5 k; Z  b$ M3 |
  1523. ; http://php.net/session.upload-progress.prefix
    + X/ ?% L; g6 O% y$ I, c6 X
  1524. ;session.upload_progress.prefix = "upload_progress_". K- c) Z: w$ ^# X# ~
  1525. * A0 ], m. A8 g# M; Y* x5 A# p; U7 `
  1526. ; The index name (concatenated with the prefix) in $_SESSION0 x% n% W2 A. _1 M# R$ I& Y
  1527. ; containing the upload progress information$ Q' \8 e( ~( t+ W
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"8 M4 h: Z& ~  \: i* }$ h: z
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 C& F, Y/ ]& Q( L1 j2 M
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"6 d7 g' f1 [- I6 n/ D5 y6 R
  1531. ; http://php.net/session.upload-progress.name
    4 l: _6 S! X% d
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    5 m# t# Q7 D2 H
  1533.   I: I  n( @1 [  j2 b' {! ^! ?
  1534. ; How frequently the upload progress should be updated.
    4 g% p5 _0 \" F) e/ _+ \' G  W  \
  1535. ; Given either in percentages (per-file), or in bytes) {9 X2 E: k8 d, q( i2 Y% ~6 g
  1536. ; Default Value: "1%"
    0 K7 Q; r; V/ v) d: V& f3 v9 I
  1537. ; Development Value: "1%"* r7 r- E* n* f  S4 i
  1538. ; Production Value: "1%"5 e; b+ f$ f7 K, s' T. |
  1539. ; http://php.net/session.upload-progress.freq: M4 Z. K8 r% ?$ g$ [
  1540. ;session.upload_progress.freq =  "1%"6 z7 W& A+ q  a: q: R6 _
  1541. $ g9 K: E& l7 p+ _; ?
  1542. ; The minimum delay between updates, in seconds* Z& ^' B" W5 B8 j
  1543. ; Default Value: 1
      L) L6 O) a2 V# J6 {& y( z/ I& d+ q
  1544. ; Development Value: 17 c# I* f' h' i7 K1 x/ ]! V
  1545. ; Production Value: 15 Q& h! R& m0 |* {  B
  1546. ; http://php.net/session.upload-progress.min-freq- Q4 Q) R. G' n
  1547. ;session.upload_progress.min_freq = "1"
    2 z0 f" G* Z. L" }

  1548. ' c& S$ X2 b# ~# B3 H+ z
  1549. ; Only write session data when session data is changed. Enabled by default.3 U/ u6 F, U# V* Z- p' N
  1550. ; http://php.net/session.lazy-write7 W$ u# m* K; J$ ?9 |+ m4 T' n
  1551. ;session.lazy_write = On7 j' G/ L( C4 j& k+ Z" \

  1552. 7 y0 F& x  v" Y: J2 u
  1553. [Assertion]% `% s, @+ Q$ h" Y2 J; _6 m2 b. S; i
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ; ?) \( e; r/ O  d' ]+ p& f
  1555. ; -1: Do not compile at all: ], Z7 N: p# l& k7 Z: \
  1556. ;  0: Jump over assertion at run-time
    ; S% l$ K- d8 O2 T0 O/ }) `
  1557. ;  1: Execute assertions
    ) g2 _2 U" B6 A$ f9 n
  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)" n' T% `6 @# [3 W+ N* x) H
  1559. ; Default Value: 14 i( P6 s& K2 T. L
  1560. ; Development Value: 1
    9 s- r7 a5 w$ h1 z0 U7 ?. L" Q
  1561. ; Production Value: -1
    ( ?8 p8 u& G0 \9 b  A
  1562. ; http://php.net/zend.assertions7 b6 N7 @5 ~* V, l+ r' L
  1563. zend.assertions = -1( A% o) h' \; G! E
  1564. 2 M# d3 g# \1 m4 q; Y
  1565. ; Assert(expr); active by default.
    1 B7 ^' R! r* E4 I8 q  V' I4 Z
  1566. ; http://php.net/assert.active
    4 D' [: H3 {; L9 `* E) k' ^
  1567. ;assert.active = On6 j) O7 I% r2 k0 d1 m) u- V
  1568.   {, S8 n5 l' h* O. g
  1569. ; Throw an AssertationException on failed assertions
    $ X0 F1 f; M5 b& N1 U+ `) \
  1570. ; http://php.net/assert.exception
    & H, Y. a( n7 \2 M
  1571. ;assert.exception = On& W# A4 q+ _8 D- {6 G% S) U5 Z

  1572. , H" ?+ B* I' i3 Z7 \
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)7 y5 H$ E' r+ F+ O
  1574. ; http://php.net/assert.warning) B0 V) x5 t8 H8 d
  1575. ;assert.warning = On
    0 s; ^2 T5 {* n
  1576. " _* G" f/ b" z- ~9 X
  1577. ; Don't bail out by default.
    ( @) ^' L/ G2 S. a6 Z7 g2 Z
  1578. ; http://php.net/assert.bail. v9 L- s4 l1 I- D; E
  1579. ;assert.bail = Off
    # X; c$ L" j. o$ I6 T

  1580. / X  l# U- D0 z2 k/ P
  1581. ; User-function to be called if an assertion fails.0 {$ \. I  d, E* I
  1582. ; http://php.net/assert.callback
    / }; b2 m# W. A
  1583. ;assert.callback = 0
    3 I! B# Y0 m' f0 }& u* W/ m

  1584. - }# K! b3 x' p) Y
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    2 _0 W+ D* `4 Q' X3 X! _! G9 ]+ E+ J
  1586. ; error_reporting(0) around the eval().8 G2 x8 h6 q4 n
  1587. ; http://php.net/assert.quiet-eval
    8 N: y, e9 e1 g( \5 u
  1588. ;assert.quiet_eval = 0
    9 [6 B4 y0 W% \5 D/ C

  1589. - Z* s7 _; [. ?; M9 p( o# h
  1590. [COM]7 A0 i6 ^9 e9 Z1 y- G2 h0 e
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    $ ^3 M5 z& R, ^8 z* N9 V: {
  1592. ; http://php.net/com.typelib-file( J- r# r3 ^" }- I" S4 D
  1593. ;com.typelib_file =4 l2 Q1 _# ?$ K" Z% k
  1594. 5 Y6 _& N6 M/ U4 f6 Z4 v+ t5 H
  1595. ; allow Distributed-COM calls
    " O- f% W( A  y3 j  L9 r. X
  1596. ; http://php.net/com.allow-dcom: ?0 T2 N9 r, p) z" h1 ^& q
  1597. ;com.allow_dcom = true; k5 U. ]0 A+ f0 {' j$ @

  1598. 9 w% z" v3 C6 ~, T1 w
  1599. ; autoregister constants of a components typlib on com_load()2 @( V% X2 g; V, q3 ^- `# V
  1600. ; http://php.net/com.autoregister-typelib  G; O) y; d8 x: M
  1601. ;com.autoregister_typelib = true
    1 n* q, [0 P. t

  1602.   b) r/ Y( ?! i# ^/ R: b
  1603. ; register constants casesensitive
    ( E" Y# w  z& J  n2 n; Q  u
  1604. ; http://php.net/com.autoregister-casesensitive( `& I& z: b# q3 j* X/ r1 D0 J% w
  1605. ;com.autoregister_casesensitive = false
    * ]& O1 a3 n. T( Y& v, ]  n
  1606. 8 g& c, |+ T: @  }/ ^
  1607. ; show warnings on duplicate constant registrations
    - \% L' U+ K% z3 J( i
  1608. ; http://php.net/com.autoregister-verbose7 d. h0 Q( u) h1 }) o
  1609. ;com.autoregister_verbose = true" I/ |7 G% f" \/ ]

  1610. , d4 {6 w& h) A' r1 z9 _% s
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    3 t" g1 b! g4 m- L2 u" V2 j" t
  1612. ; Default: system ANSI code page
    / o3 o! H6 U+ C8 @% n% ?
  1613. ;com.code_page=
    ; ]2 j3 X' T) S  }$ M/ p* \

  1614. & |( p; o5 x: ~% L! B) m2 A
  1615. [mbstring]8 C: Q3 [- q/ I& F' J& L' M
  1616. ; language for internal character representation.
    3 y) i8 x+ S7 \0 Q
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ; e( m" _( L+ k2 W/ s8 t) k
  1618. ; http://php.net/mbstring.language: w+ A- k( O. o, k' t* y" [& ?2 r
  1619. ;mbstring.language = Japanese
    ) d1 E1 `" b5 u

  1620. & i- v8 O; O/ P' s" o: X
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.- ^6 \: J& j% \1 b
  1622. ; internal/script encoding.
    2 h7 P! N! {( ~2 }  Y+ `
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ R2 g$ C; h2 U3 y, Z* {
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 ]) Q' i6 Z7 _. a& _
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; S& F9 c1 e2 N4 t3 B
  1626. ;mbstring.internal_encoding =
    ) o% ^  ?% x/ N

  1627. " j# N2 a" Y" g2 K# c0 a6 K
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ( R+ w3 P& c# k; D  o" Z
  1629. ; http input encoding.7 M9 C1 G- {/ w6 e$ R2 n' _" _5 T
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    9 D3 p/ a& Y+ q) ~4 v6 M
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.# @! R1 ~% `4 y3 j6 Z1 |/ a! o
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input' [  _& x6 Q3 T# ^7 w' ]5 M: N
  1633. ; http://php.net/mbstring.http-input
    - z+ {6 t& U+ H8 [4 W2 ~# a
  1634. ;mbstring.http_input =
    ) m4 p3 S) {4 i: H3 D: I

  1635. 6 Z6 w, ]2 z8 \! p* s0 \
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 {" Y. T1 o  a4 {- f
  1637. ; http output encoding.
    + ~9 M, v1 ?) l8 b; G* C! e
  1638. ; mb_output_handler must be registered as output buffer to function.
    ) f! r( S' y0 t$ E/ ~. s7 d- L1 {
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ; g' T4 g5 |8 R
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output( v0 |2 n/ ?' _5 Z' R0 {0 b7 c4 s
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    3 ^) {9 E# V' n3 R
  1642. ; otherwise output encoding conversion cannot be performed., W$ V8 E5 W2 T4 x( R
  1643. ; http://php.net/mbstring.http-output; K  ~' J4 D# g: S! u
  1644. ;mbstring.http_output =
    9 T0 C8 n* e9 x9 M/ l9 e6 V
  1645. ) x. r3 K4 {. H' K4 H# ~# K  k# J  ~
  1646. ; enable automatic encoding translation according to# I4 c7 ]" U& Z& V3 k, s9 W) z4 [
  1647. ; mbstring.internal_encoding setting. Input chars are6 v7 R4 k- v3 M  H! I* v
  1648. ; converted to internal encoding by setting this to On.. G- V9 P& _6 Q" f# i/ f
  1649. ; Note: Do _not_ use automatic encoding translation for
    $ Z6 s3 d' m9 k  U* J/ C
  1650. ;       portable libs/applications.: B$ E- I/ n/ ^+ h" I7 M
  1651. ; http://php.net/mbstring.encoding-translation9 c" }7 R* {7 x4 j
  1652. ;mbstring.encoding_translation = Off1 r& c6 a- d" T  Q
  1653. + |3 B* \, H8 E
  1654. ; automatic encoding detection order.
    0 P6 l9 j$ J7 o1 ?
  1655. ; "auto" detect order is changed according to mbstring.language' _5 U6 S8 M+ \0 h& I) ?
  1656. ; http://php.net/mbstring.detect-order
    ' `0 x3 S% }& _1 A; l, Z4 Q
  1657. ;mbstring.detect_order = auto  ^; o1 J. E0 M- A6 j% `2 _5 h
  1658. 5 j, x: V  Q9 V9 _. ]. M1 V
  1659. ; substitute_character used when character cannot be converted
    3 ?5 X7 I0 E. @. P0 ?% K
  1660. ; one from another* m6 E' _7 }7 p2 P- U) x+ y: m
  1661. ; http://php.net/mbstring.substitute-character
    + }4 G# `3 p. \+ }; v: t4 W
  1662. ;mbstring.substitute_character = none) Z+ u2 ~2 O& p9 Y8 t/ n9 r
  1663. 0 {! [# B, s" R% @3 U8 E
  1664. ; overload(replace) single byte functions by mbstring functions.
    & ^$ G& Q5 [( g9 C
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    & S* l5 ~4 Y3 h& W
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.$ |( ?# C0 O, k: s& H
  1667. ; For example, 7 for overload everything.
    0 X. S+ Z( g+ @  b7 z
  1668. ; 0: No overload9 B6 s$ m: e3 ]# s; W
  1669. ; 1: Overload mail() function% V2 ~2 o  ^7 Z  ]( W5 X  t
  1670. ; 2: Overload str*() functions# h. Z, d/ ~. R+ S
  1671. ; 4: Overload ereg*() functions
    & E- a" C# a3 a9 P! ~
  1672. ; http://php.net/mbstring.func-overload
    - x: r# F% f1 X  H& @
  1673. ;mbstring.func_overload = 06 f1 `! x- C( T/ ~% O- N
  1674. 0 I$ p" a2 D6 {) L
  1675. ; enable strict encoding detection.( i) L% U4 R9 I0 s
  1676. ; Default: Off4 u/ o8 U4 J2 @4 I% y* c0 C0 m
  1677. ;mbstring.strict_detection = On
    ' q3 X2 z) o. M1 J3 `

  1678. ( z. m0 z& [* L* [% s; G
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()& V/ d* x6 |8 \4 x& Y: Z* ~
  1680. ; is activated.
    # o! N8 T% Z! _
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)0 B2 w; c% {+ B- u
  1682. ;mbstring.http_output_conv_mimetype=1 H! C8 Q4 l) D" f, e9 B, o
  1683. / s* R4 W6 M. u# \
  1684. [gd]
    3 m& n& S* n# H2 _
  1685. ; Tell the jpeg decode to ignore warnings and try to create  l* T5 k8 v! e+ y3 d) t
  1686. ; a gd image. The warning will then be displayed as notices: M5 Z9 m9 C: q2 R6 ?- A
  1687. ; disabled by default$ ?! B+ V" }( t$ u# b& {# d
  1688. ; http://php.net/gd.jpeg-ignore-warning' Y3 u, t* v! L
  1689. ;gd.jpeg_ignore_warning = 0; L. E: r) x+ r. F4 G8 F

  1690. / N9 G8 h& {& i  R0 J
  1691. [exif]  N9 q: ?; e6 k! F" z: J
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% L6 V" X6 ^0 i2 F) A
  1693. ; With mbstring support this will automatically be converted into the encoding: n# _/ V$ m. v4 m0 Y8 I& j% V
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding) G$ D$ o" p6 X$ k- _4 {" K
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ! D: d% O8 U1 z# y
  1696. ; intel byte order. A decode setting cannot be empty.
    8 w- c% h5 I! G" G7 v
  1697. ; http://php.net/exif.encode-unicode' V1 T( g& A% ]( U5 L
  1698. ;exif.encode_unicode = ISO-8859-15
    5 S3 }5 t' u/ Z6 b
  1699. 1 O7 g) s6 i0 x1 i7 V2 \8 N* ]
  1700. ; http://php.net/exif.decode-unicode-motorola" w  j: Q* g) O  h, e4 Y2 l% U. A
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    6 h6 H  X3 F/ i4 a/ N6 d+ w7 t! c

  1702. : n& k  N, _, C. B7 G2 y
  1703. ; http://php.net/exif.decode-unicode-intel0 z) j+ V: g7 O8 P7 e
  1704. ;exif.decode_unicode_intel    = UCS-2LE7 {2 ?8 D& ~" i& U( J
  1705. $ Z" U1 f. n$ G. Z7 [% B3 X& w' g! x
  1706. ; http://php.net/exif.encode-jis
    2 w$ |1 D1 p5 V  y: l# R% o2 Y
  1707. ;exif.encode_jis =: ?* O1 {' b* x* W7 m

  1708. + @! d* }( X+ \- L9 H8 s
  1709. ; http://php.net/exif.decode-jis-motorola
    & J7 K" D& A+ @4 |3 f- m
  1710. ;exif.decode_jis_motorola = JIS# t* |) I  `% F  {, {1 i5 E

  1711. 4 q6 x. I* `  `5 D
  1712. ; http://php.net/exif.decode-jis-intel
    8 A6 k# ^+ ^7 a
  1713. ;exif.decode_jis_intel    = JIS
    ) J6 b8 x" z5 j$ v$ F% C9 r# V

  1714. 0 B, L% b2 h/ P
  1715. [Tidy]
    3 p2 W9 Q4 q# G1 G0 T
  1716. ; The path to a default tidy configuration file to use when using tidy9 N- S2 d, h& K2 a4 X7 O$ \
  1717. ; http://php.net/tidy.default-config
    2 k5 u, }( u1 T
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    # }; i  C5 M! J4 X, I

  1719. " h5 C* `$ x! i1 H" B$ x
  1720. ; Should tidy clean and repair output automatically?
    ) e  o  X# A1 r0 a% C3 I
  1721. ; WARNING: Do not use this option if you are generating non-html content
    : B+ T2 T* B* S' T4 E
  1722. ; such as dynamic images
    - W; h! V9 j; N; V& f" a
  1723. ; http://php.net/tidy.clean-output* R/ i4 Z  t' B  e( `- P
  1724. tidy.clean_output = Off
    ( {+ @7 ~8 h, k

  1725. 0 z+ k* S8 K% C& l" ]; ^. Z
  1726. [soap]
    1 f( P, U1 x0 l, u4 @
  1727. ; Enables or disables WSDL caching feature.6 {0 e/ B$ t4 N% W# D, D# `' {5 m
  1728. ; http://php.net/soap.wsdl-cache-enabled6 B9 E) J& E8 O) M6 l+ V/ i! p; r+ N
  1729. soap.wsdl_cache_enabled=1+ Z7 [: r- K9 S$ O5 [

  1730. 3 h5 m' {3 c' j  I
  1731. ; Sets the directory name where SOAP extension will put cache files.& q5 C3 p' R8 `3 w
  1732. ; http://php.net/soap.wsdl-cache-dir  y& {% c7 c2 e! j
  1733. soap.wsdl_cache_dir="/tmp"# e! ^' U" [, v8 D' |& l2 V
  1734. 2 C; @. X7 d+ Q9 ^, j1 M5 p( {
  1735. ; (time to live) Sets the number of second while cached file will be used
    " k+ s8 ~- H5 `5 j3 F, N* [6 F
  1736. ; instead of original one.9 c/ g7 l6 C; r5 G" Y$ ^
  1737. ; http://php.net/soap.wsdl-cache-ttl. W0 g8 G3 }. u! ^  L3 v. i( d
  1738. soap.wsdl_cache_ttl=86400% Y0 _+ C0 Q  I- |) ^" C& f1 L, u5 p

  1739. 2 f# M3 L4 L( j: L7 t
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    6 z) S: e1 P" |* {' ]
  1741. soap.wsdl_cache_limit = 5# @' O3 P* a( e4 m

  1742. 0 H- P: m0 E9 J7 f
  1743. [sysvshm]
    8 Z" D4 I. N( m  g/ z: A5 s
  1744. ; A default size of the shared memory segment* X4 [  N& Q+ e- b* m/ n
  1745. ;sysvshm.init_mem = 10000
    & G# L$ L3 F! P$ H& I
  1746. 0 E# T% `! J9 g! r; f
  1747. [ldap]
    7 ?& @8 Z& _+ {, g; h) }1 d# \
  1748. ; Sets the maximum number of open links or -1 for unlimited.; r% `( S, ]7 W
  1749. ldap.max_links = -12 ?& d, M: l5 [0 i! ]' s: v
  1750. " y% s$ s* ~/ g' H
  1751. [mcrypt]
    5 N5 ?% M  p3 v) p2 [3 a& t5 A. Z5 q. Z
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open- w; w3 Z2 y4 V* C1 r' l. Q2 L
  1753. ; o5 Z* b' k' |5 E6 v- n: a
  1754. ; Directory where to load mcrypt algorithms; g3 r2 F' m, l; R
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 a0 @% J# x/ q! G. o9 K. V! C4 `
  1756. ;mcrypt.algorithms_dir=( J1 j2 a% Y: m

  1757.   j1 U$ r6 x1 D2 F8 G
  1758. ; Directory where to load mcrypt modes
    * p. F& w: C+ s7 M2 @- U
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ F  {' j0 k: d
  1760. ;mcrypt.modes_dir=3 w" u2 y1 S7 c5 `& v) @, o
  1761. * r7 Z  Z( r1 n4 g' m+ ^) j9 M
  1762. [dba]7 K- ^. l5 K( _' D  t
  1763. ;dba.default_handler=1 @* D. X/ h! Y5 |3 G4 m" ~

  1764. ; K0 G  A, I1 B8 E' G
  1765. [opcache]
    , M0 O: N- B1 G
  1766. ; Determines if Zend OPCache is enabled2 \& G& a, v. ~! H. E! ~
  1767. ;opcache.enable=0& o2 T( ^) i) E: b8 u( C2 s0 P
  1768. 6 W1 {6 E8 T" }4 {, |! v
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 ~4 W" }& w3 I6 P5 g: ]( A3 W
  1770. ;opcache.enable_cli=0
    - q$ b3 i+ S# Q7 v

  1771. 6 n1 A& O+ k: O+ M
  1772. ; The OPcache shared memory storage size.
    2 `1 H- h3 t; X2 X7 f+ S
  1773. ;opcache.memory_consumption=64$ d9 f. }3 ]: G

  1774. ; n% H4 ^# {! W% N3 j9 N5 n" [# z
  1775. ; The amount of memory for interned strings in Mbytes.
    8 b$ X( T: h, v* F" A
  1776. ;opcache.interned_strings_buffer=4
    0 o$ @6 P7 v2 U2 _

  1777. / \* Y/ K% N) z% q$ J2 Q. C! J
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    0 _0 Y/ m6 C6 r1 T& W* R" q/ _( b
  1779. ; Only numbers between 200 and 1000000 are allowed.: }% l# V9 Y8 U9 r7 C0 X5 J9 a* I
  1780. ;opcache.max_accelerated_files=2000
    ! e/ a, x! {7 L" T. P, Y2 b7 a
  1781. / R9 K  a) r# s- k# w: _. k* R$ B
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.' V% B1 M3 z, x, j1 m
  1783. ;opcache.max_wasted_percentage=5
    5 E7 g" K+ T" [4 C8 x6 `# [

  1784. " v( K/ Q! p, D- Y9 z4 E
  1785. ; When this directive is enabled, the OPcache appends the current working
    1 c4 Z. {" e/ v- J
  1786. ; directory to the script key, thus eliminating possible collisions between( Z( m- ~* ?7 o& L( q' X/ ?+ m
  1787. ; files with the same name (basename). Disabling the directive improves+ t, h" ~' H$ q+ t+ u
  1788. ; performance, but may break existing applications.# i7 P# L" r2 W9 B$ j/ _. |
  1789. ;opcache.use_cwd=19 j4 s9 z- ]8 c  J6 [7 R2 u; t( k

  1790. / @8 F7 b+ X* L$ n/ [8 d
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ) {1 y7 z- j5 f. c
  1792. ; webserver for changes to the filesystem to take effect.+ y0 m% K  F- v
  1793. ;opcache.validate_timestamps=1
    8 V9 Q* o$ h. A  Z6 |# P$ b

  1794. " P  E6 D( [1 O7 U$ o' a. N) f
  1795. ; How often (in seconds) to check file timestamps for changes to the shared" W% o( q$ K# ?- Y; K% }/ k2 t, ]
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    % x4 z& \9 k% [: ]' `
  1797. ; once per request. "0" means always validate)
    ) {# b4 V: T, V0 x2 {! N0 b) z
  1798. ;opcache.revalidate_freq=2$ c) M  A; C; h0 `! ?1 i
  1799. % P) `: R- E+ A) a1 \) D
  1800. ; Enables or disables file search in include_path optimization
    % w- i( l* E8 h5 |7 D
  1801. ;opcache.revalidate_path=0
    ( L1 `$ q) r3 t: ]7 i

  1802. - g9 z- a( E0 I* m" |
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the+ c6 k2 V: F  W$ k2 U
  1804. ; size of the optimized code.
    4 G! e( v, L+ d
  1805. ;opcache.save_comments=1
    & N  M  I; ^* R+ k$ ]0 `4 D# @

  1806. 8 }% _  B. B3 K
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ; g7 w% o% Q  O* a  K: R
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.& t4 l4 B8 z' f, e$ D
  1809. ;opcache.fast_shutdown=0! F, Q, d- k- _9 H) Q' L

  1810. ' x- R5 ^' d! T4 w: G& l
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    7 E( Q# l4 T! F8 e  G, p
  1812. ;opcache.enable_file_override=0
    % L$ |, T5 M. f4 }) D9 Z" \

  1813. / z2 ~* ~! j% g9 ]% h- s
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    / J2 b  Z3 u* H0 ]% K
  1815. ; passes
    4 |" N  b0 l" c9 N
  1816. ;opcache.optimization_level=0xffffffff
    & O% C& m- L$ L( k- Q
  1817. , C8 U% o6 i/ p  S. L2 G, h  K, K8 W
  1818. ;opcache.inherited_hack=1, ~" ], a; _7 C
  1819. ;opcache.dups_fix=0% ?# s  e* O2 d- W, p

  1820. 9 f% r8 ?$ q$ ]
  1821. ; The location of the OPcache blacklist file (wildcards allowed).7 m3 R0 A4 t) L  m: c0 K' X
  1822. ; Each OPcache blacklist file is a text file that holds the names of files0 n  @# |' e; Y" e% }5 ~; t
  1823. ; that should not be accelerated. The file format is to add each filename/ t) [" ~/ u/ J) R
  1824. ; to a new line. The filename may be a full path or just a file prefix
    9 e$ ?7 r4 F: @; c
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www- \. @" l- N3 x5 S3 _1 b/ {
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).- t- S3 Y; x+ @
  1827. ;opcache.blacklist_filename=
    9 w. }' p6 P) z3 e" D+ g# M
  1828.   I9 V, i/ I! o- P7 W3 Y
  1829. ; Allows exclusion of large files from being cached. By default all files
    ( p3 ^( |$ s9 s# c
  1830. ; are cached.& O+ i9 i  ^6 M6 X
  1831. ;opcache.max_file_size=0% c1 L: C7 F' n# {

  1832.   p* A- ~9 r& J4 v& @" t! s
  1833. ; Check the cache checksum each N requests.# h5 E: Q: B  M
  1834. ; The default value of "0" means that the checks are disabled.! I: K6 A3 g- h2 M, F  I9 z
  1835. ;opcache.consistency_checks=0
    % J7 c; k. Z2 z' F/ ^6 j

  1836. . B, [- `( B; b" o+ R
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    - X5 a* B; ]# p" R% q
  1838. ; is not being accessed.2 N6 O5 Y" ^& P
  1839. ;opcache.force_restart_timeout=1809 T8 t% i/ W% W
  1840. " d+ h# z5 P/ ~) G7 q
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    7 l6 p/ ~% D, P/ E" }$ [6 M9 W
  1842. ;opcache.error_log=
    ; {$ V6 Y! c$ k& d

  1843.   N5 \" z( s1 |3 N! I! M. U
  1844. ; All OPcache errors go to the Web server log.+ m* t4 Y0 g8 ^
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    5 Z" H) g6 x. s. ^  ?7 D
  1846. ; You can also enable warnings (level 2), info messages (level 3) or  ~9 }$ g( ]6 d8 f1 z0 g
  1847. ; debug messages (level 4).& {# a# {. h% j" U+ z
  1848. ;opcache.log_verbosity_level=1
    # U4 ^5 Y5 S  u

  1849. % n! d6 ^) ]2 [6 y( O( r) _1 `6 n
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- [: P& E. }% f1 M
  1851. ;opcache.preferred_memory_model=$ G, ^3 o! ^2 M. I: \) S6 ^
  1852. 3 m! d% a$ c- w  x8 G
  1853. ; Protect the shared memory from unexpected writing during script execution.
    8 K+ ^# j0 F: i* F. H0 g' u
  1854. ; Useful for internal debugging only.) c* a8 {/ C9 {- f0 Y
  1855. ;opcache.protect_memory=0
    " |! c8 r5 E& r- v- `- A! F/ \" T
  1856. ' _- m$ Z' j3 v0 d. N
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is1 S$ f; K; J/ q- ~( o7 D3 |% d
  1858. ; started from specified string. The default "" means no restriction4 L) ?0 N. E4 k) M
  1859. ;opcache.restrict_api=+ @1 [% O/ J$ W

  1860. % _; \4 T" |0 H6 l2 e2 B3 P* l
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP) \. \* ?$ Y6 Z* k  v
  1862. ; processes have to map shared memory into the same address space. This6 i9 l& X, R  F7 E! U
  1863. ; directive allows to manually fix the "Unable to reattach to base address"" P/ v2 H; N8 x1 K. c' C; u
  1864. ; errors.
    5 y) z) h5 Z3 q6 ?; q
  1865. ;opcache.mmap_base=$ o" K( k" c: }8 K- O( {
  1866. / V  G0 `9 E3 e% s! p) V, r
  1867. ; Enables and sets the second level cache directory.) z9 P1 C$ p! i' u0 q+ h
  1868. ; It should improve performance when SHM memory is full, at server restart or
    8 p8 {& z4 ?1 N' M  u, a
  1869. ; SHM reset. The default "" disables file based caching.5 U: v" I. z- {
  1870. ;opcache.file_cache=9 y* t3 x  k4 n2 s0 e/ ]* F
  1871. ( w" [: \* K9 j+ v# f
  1872. ; Enables or disables opcode caching in shared memory.6 n& K' J2 y& T% \* P/ E
  1873. ;opcache.file_cache_only=0
    ; H' ]4 |( U- _/ |4 z. Y# n9 |& I
  1874. ) V$ o  f) O' T; R2 ?
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    # `) @' z0 Q- N& q! m4 W3 [& |2 W
  1876. ;opcache.file_cache_consistency_checks=1
    - w8 T* |8 p9 o( l6 g
  1877. 4 F0 T6 F2 W" v! ~  t
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to! T+ \3 f! C6 @3 L: o  ~
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file9 n. o6 }- a5 t2 D* x. y+ b: U
  1880. ; cache is required.' Y4 ^+ ~  J7 k
  1881. ;opcache.file_cache_fallback=1, P0 a- C& T1 h5 ^

  1882. , l& v& |6 {" ?) |- q
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    + ]& J% R+ Q; n0 n. l1 q- U: @
  1884. ; This should improve performance, but requires appropriate OS configuration.
    3 H, @4 W; @% \8 A# Q
  1885. ;opcache.huge_code_pages=1
    ' ^  `5 H/ b4 Y$ F& j3 ?- `  _

  1886. 5 L" D: O5 i/ s) P; X' b! o0 I
  1887. ; Validate cached file permissions.
    ! d( C6 l3 K! v+ z
  1888. ; opcache.validate_permission=08 m$ Y3 Q% x& o& }8 z) U5 J

  1889. & m: v  y2 c$ I9 a% n+ S
  1890. ; Prevent name collisions in chroot'ed environment.
    7 r- k2 m. a; B% v4 `
  1891. ; opcache.validate_root=0
    6 ^6 y7 R! T& S' [: g8 ]; m" S1 ?

  1892. 6 G/ E+ f" m3 o, e0 j, Z
  1893. [curl]7 w2 A" m# `) v6 v
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an9 Q* Y" M/ [8 d: v1 F9 Y& s
  1895. ; absolute path.& Q/ U2 l9 \9 w4 |# Q+ f* p4 Y
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt3 ^- y  C7 o9 K
  1897. % W3 w2 ^. Q) n( f: J
  1898. [openssl]
    0 F* Z$ B6 E0 }' ?" c
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    " O, R; L& l' G( I$ o' C
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ! g2 X% t) u3 P5 x& c
  1901. ; not specify a value for this directive as PHP will attempt to use the
    0 ]% B# R, r, v3 M1 O
  1902. ; OS-managed cert stores in its absence. If specified, this value may still9 {" X, t1 u  @' }
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ( e/ Q; y' o" T1 G: X6 G
  1904. ; option.
    - y- I) W. y5 A  Z
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt4 r( M5 U2 }. i# `$ X
  1906.   R4 N: ]: v$ j$ U
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    - v5 G" ~# i7 y! g
  1908. ; directory pointed to by openssl.capath is searched for a suitable* [! s* Q$ c: G" G6 O; @. Z
  1909. ; certificate. This value must be a correctly hashed certificate directory.8 t$ W" R( W8 A( q8 M; {0 w
  1910. ; Most users should not specify a value for this directive as PHP will) V* @1 X& A( J, T4 |
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & P" ]: d- |. k: [& u+ j1 O+ Z- z/ H
  1912. ; this value may still be overridden on a per-stream basis via the "capath"7 e6 ^  e1 f8 K! N( r2 O
  1913. ; SSL stream context option.
    8 y/ D1 H5 \5 E& c1 ]
  1914. ;openssl.capath=" g% ^2 K2 }4 J) n5 z$ k8 z

  1915.   Y' K+ E. _; L/ `8 s
  1916. ; Local Variables:8 E$ [9 m  J4 ^) b% Z7 \9 G
  1917. ; tab-width: 4
    ; M. B. y5 @' x
  1918. ; End:
    0 U" b* t7 f) E1 v) W3 u
  1919. ) O  A, Y( e5 O" S! L+ r6 ?1 i
  1920. ;eaccelerator
    $ r( f6 l; `% @  s( I

  1921. - L5 F& j4 K  f
  1922. ;ionCube
    9 W; p- U1 E7 ^+ Z  J- C

  1923. 8 A2 S/ C$ v( o% t  L
  1924. ;opcache
    4 \; I! L6 h# I2 S% {4 i( ?1 K" j* q8 y

  1925. 5 w5 z; I( r, S) h: z  L- M
  1926. [Zend ZendGuard Loader]
    * C+ b4 ?0 k! k
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.' J: c& e8 E' s0 S. U" b* q) {6 i
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so$ e8 x# u1 C) i+ {
  1929. ;zend_loader.enable=1
      O. r; u6 @1 f6 v0 n7 V; a
  1930. ;zend_loader.disable_licensing=01 p. k$ a' t* e
  1931. ;zend_loader.obfuscation_level_support=3
    ! C0 ?3 w4 q  K$ W- l* P/ J
  1932. ;zend_loader.license_path=
    5 ]6 ?5 b  ~" R+ B+ \( x1 f
  1933. " Y* A6 g" G7 l2 _) ?( ]
  1934. ;xcache- i  J3 v/ p, {$ g4 H8 r

  1935. 8 v( u6 N1 i' ~
复制代码
/ \( A# y' z+ \& j6 X* _' i' Q/ I

7 p- e1 s2 [, \/ _4 H0 S; t  V4 u( B1 H8 C, `6 [& ]
: W3 w( a. E& ]; {4 S: W* p

! L3 [! }: G' N% e/ a: g  ]0 W
* J9 C; ]6 l* ?5 K1 R( ?; Z9 ]. W3 O+ P, u
PHP5.6版本原始设置
* {) R' k: q) Z: J* j! U. N( Y6 S6 O( |1 O" Z) t: F
  1. [PHP]
    8 [2 b1 g; j  Z$ [% ~

  2. 6 v% @2 [2 r& Y: ^  W2 `
  3. ;;;;;;;;;;;;;;;;;;;9 b( r6 T& V4 D( _( S2 `7 ^5 ^
  4. ; About php.ini   ;4 _& E8 n' u' z$ n2 O; ?
  5. ;;;;;;;;;;;;;;;;;;;
    3 }; ]: r2 h+ w- W: Q
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    " W1 e4 s5 c) F. n# \2 A0 `
  7. ; configuring many of the aspects of PHP's behavior.% A! l. x9 V& I
  8. , Y+ Z4 }, P2 f( m8 E
  9. ; PHP attempts to find and load this configuration from a number of locations.8 ?" }7 o1 W, O3 ?' Y+ J- n+ K
  10. ; The following is a summary of its search order:8 |  q- q: A6 p. I2 `) d
  11. ; 1. SAPI module specific location.
    ) F7 A  V: I$ V( |% T$ y' x% V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    * R$ N, X; j# L0 t# \5 W6 ~
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ' D" M% h) L* Y& U; S4 s& B
  14. ; 4. Current working directory (except CLI)" T4 O' X+ d: z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP; g5 e5 v! e  b# T1 `, T" F" ?
  16. ; (otherwise in Windows)
    % T% Y  Q: [1 j$ }0 d% I
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    - d0 `9 h1 u7 j  A" F
  18. ; Windows directory (C:\windows or C:\winnt)
    $ w: |, {! g( D4 U7 m6 t+ w
  19. ; See the PHP docs for more specific information.. C# U0 x; `, g1 `
  20. ; http://php.net/configuration.file& j  m/ E$ j  r! c6 _
  21. ( w7 q4 y+ Y4 _
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, a3 K8 s2 f2 G  G* a; _' K
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., A8 `6 Y1 g" U; r, w
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though9 H# k4 Q4 |: t8 k" U! Z8 V
  25. ; they might mean something in the future.5 A! z& L# R; c! H
  26. $ f  M6 R' B. n5 Q% M
  27. ; Directives following the section heading [PATH=/www/mysite] only  s8 u# @! v4 Y2 W' I  A* m
  28. ; apply to PHP files in the /www/mysite directory.  Directives7 A: X% H9 G7 u# ^8 {$ X- L7 F
  29. ; following the section heading [HOST=www.example.com] only apply to
    ) k& Q, _' w) V( O) n7 z
  30. ; PHP files served from www.example.com.  Directives set in these
    ) s2 @& R% r, u8 w8 `$ g; U
  31. ; special sections cannot be overridden by user-defined INI files or0 A1 b9 J7 {/ o5 R" a0 M. o* L
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " U' |& j7 j9 y% t
  33. ; CGI/FastCGI.. m, d& K: G* ]2 I$ U. H! M; W
  34. ; http://php.net/ini.sections
    7 G9 x! e% g! N# V
  35. 3 j2 k3 Z) R7 F, ^. b  p. I
  36. ; Directives are specified using the following syntax:
    ) @# _9 e) U& s: e
  37. ; directive = value
    3 @' k9 d, s' o$ U1 J. k2 |" _
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.( d  [9 {6 U- B5 G" s2 z5 r
  39. ; Directives are variables used to configure PHP or PHP extensions.% F7 y- s% ?& s; P0 Z
  40. ; There is no name validation.  If PHP can't find an expected
    ' p  H  H3 n6 s, B( y5 _1 y% Y# o
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ; p$ L7 I+ `( r2 L6 x7 C. e' F/ {( L
  42. 9 p1 d# G0 ?1 O( Q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    : V/ h3 X, b! u5 b- L
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression+ g* b1 d4 T1 q- a; C1 i
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    2 a) e3 {) n+ m3 H2 n, ?
  46. ; previously set variable or directive (e.g. ${foo}): _0 Z+ ^  Z; ]; j: {
  47. + [- _( z5 \$ r2 L
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:/ F4 W1 b; M, z6 N; e9 B
  49. ; |  bitwise OR) E- C, O5 }3 t+ \+ ~
  50. ; ^  bitwise XOR
    4 f( y) Y6 b% g" _0 d" l9 ?
  51. ; &  bitwise AND
    ) K" B/ e8 {# ~" ~
  52. ; ~  bitwise NOT% ]6 J6 V) s% J/ b3 |8 B
  53. ; !  boolean NOT) D( P0 S, P6 i% _, M
  54. ' B9 a9 U" Z0 [
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& @7 Z& R7 j( G1 j9 Z: \5 Q
  56. ; They can be turned off using the values 0, Off, False or No.
    + X4 X- g" j7 S1 g$ d& T

  57. 3 z) B2 G* }- p3 p/ T* g% `7 W1 l
  58. ; An empty string can be denoted by simply not writing anything after the equal
    4 a  F+ r- H9 K- v; ^
  59. ; sign, or by using the None keyword:3 D+ F, {$ N+ z6 D2 T% G
  60. ) O" w, _' p; ^3 [; N' C' n4 [
  61. ;  foo =         ; sets foo to an empty string
    ! w( j0 ^5 v8 p5 A2 i' R
  62. ;  foo = None    ; sets foo to an empty string1 t: @- T* _: M9 |
  63. ;  foo = "None"  ; sets foo to the string 'None'# C( b( O& S9 t0 M* ^9 ~0 |

  64.   u' T( v# C( T: n0 [1 s/ }
  65. ; If you use constants in your value, and these constants belong to a
    # W  K* Q2 ^# p3 V6 `0 \
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),5 u9 Y2 y1 Q3 C. K5 f
  67. ; you may only use these constants *after* the line that loads the extension.) @4 ], u- @6 K$ ?) ^, k1 i

  68. " N" O' S, a( M% n
  69. ;;;;;;;;;;;;;;;;;;;% R+ u( `5 B( b) q1 L$ N6 U+ w: X
  70. ; About this file ;0 J9 a, z3 A3 R7 x' I& S% ?
  71. ;;;;;;;;;;;;;;;;;;;
    ! Z% b" k0 q% C
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    & }' P+ K: i2 U! G7 d0 R4 {% {
  73. ; in production environments and one that is recommended to be used in
    4 ^8 g" z6 V9 P9 \0 Z+ P6 H
  74. ; development environments.
    9 I# Y$ m9 R. F4 p9 }* M. f
  75. $ U5 z: b- m5 q' f
  76. ; php.ini-production contains settings which hold security, performance and5 C  @1 p) O" v0 s# S
  77. ; best practices at its core. But please be aware, these settings may break6 P5 U7 J0 U  y) c, u" _
  78. ; compatibility with older or less security conscience applications. We
    " j9 C/ Z; v+ u5 Y3 Z& G
  79. ; recommending using the production ini in production and testing environments.
    6 j3 P4 j! E7 l  Q7 r& {
  80.   u" b8 w( v+ _/ W- [$ l. m
  81. ; php.ini-development is very similar to its production variant, except it is0 P3 y# r$ p! i; {; U7 [: o
  82. ; much more verbose when it comes to errors. We recommend using the4 S! v7 t) H& R
  83. ; development version only in development environments, as errors shown to
    , }8 M, K. p+ R- X: C& L$ G
  84. ; application users can inadvertently leak otherwise secure information.
    * I  p" }$ a" l0 Z) I9 h# t% P( b% D  D

  85. ! ^0 ^" M1 n2 F% E7 b
  86. ; This is php.ini-production INI file.
    ) O6 R( Y" P$ ^2 }4 }

  87. : T0 Y2 V7 N% |5 @/ A
  88. ;;;;;;;;;;;;;;;;;;;* C+ p. g8 w1 [4 Y! n
  89. ; Quick Reference ;2 b. d" C* p" m# j$ Y* E
  90. ;;;;;;;;;;;;;;;;;;;9 d& G9 U5 R/ e0 h% h. a- O9 X
  91. ; The following are all the settings which are different in either the production8 r  k9 Z5 \' v* X& H
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    " M- ?( g& d; [: T
  93. ; Please see the actual settings later in the document for more details as to why
      R$ ~3 s! ~6 G/ ~/ n
  94. ; we recommend these changes in PHP's behavior.
    3 q6 j- r8 t; `" z) [; Q

  95. 6 O/ u( H+ ~3 v; J6 m9 i3 a6 s
  96. ; display_errors1 f5 X( [; x+ M" H3 N  j- |
  97. ;   Default Value: On: \+ L: b/ [, ^' n+ q
  98. ;   Development Value: On2 {3 f8 n* Y! Z1 N" R0 t
  99. ;   Production Value: Off
    5 }( v' ?" V+ i2 i0 e- j( c
  100. 2 Z. T1 T- e9 n0 J) v& e/ T' V8 b
  101. ; display_startup_errors
    - u6 ~% K, c0 {0 [1 [4 a  G; |
  102. ;   Default Value: Off
    ( a7 T  m% Z& t% P& G2 q
  103. ;   Development Value: On
    & j; H" d% I9 Q! l- c; p  Z! A
  104. ;   Production Value: Off
    & x/ O" B) i! X
  105. 1 h$ P5 F( O( U$ X" ?+ s
  106. ; error_reporting
    ( M/ b3 N; G' m# [2 l# n
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * O* d/ r! Z& G6 F6 {" f
  108. ;   Development Value: E_ALL
    ' L) @' k* y  C3 j7 O
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 Y- w. v4 ~2 W% w0 V5 W

  110. : P/ s; j3 s# @2 ?8 s* w
  111. ; html_errors: J) X; V& f# @7 ^
  112. ;   Default Value: On
    5 T. I4 z  ]" f
  113. ;   Development Value: On
    * K2 S, s, Z# y0 O- A
  114. ;   Production value: On
    . `- e  V( n$ T0 v

  115. - ?) S8 K) L$ s4 \8 r( r- e
  116. ; log_errors
    + r% @/ Z+ J! d! T7 `8 V  G0 a
  117. ;   Default Value: Off
    0 m; c4 t* ?7 D! I1 L
  118. ;   Development Value: On
    7 L& l9 f7 U  p, r& H/ X5 h$ i' u2 u1 v
  119. ;   Production Value: On, S  q' P+ A* U2 |+ O

  120. 5 l' w  `8 D3 k; A& g5 D
  121. ; max_input_time
    ( R# e2 V$ o5 K. G8 O  x) |
  122. ;   Default Value: -1 (Unlimited)
    & a1 |- }5 J# B0 U
  123. ;   Development Value: 60 (60 seconds)
      M; ?- V5 T5 r+ X4 z- x
  124. ;   Production Value: 60 (60 seconds)! p: l+ f, A) j( ]" S

  125. 4 o# c  g' l* V# i/ n: D
  126. ; output_buffering
    * @/ n/ ^4 [3 I5 q/ N
  127. ;   Default Value: Off
    # X5 j4 k" d5 i# s9 Z% F
  128. ;   Development Value: 40963 g0 O4 t4 A6 E# m/ x4 l! V- X
  129. ;   Production Value: 4096
    - P+ g$ w3 c+ }; [

  130. 7 {9 k9 O: w  @. O$ `% ^2 w
  131. ; register_argc_argv8 U: V; H2 c' E' u. O% w) W
  132. ;   Default Value: On- o1 b& |3 h7 i. o$ x& A+ {4 F
  133. ;   Development Value: Off2 j6 }) z" @. s5 f
  134. ;   Production Value: Off
    : U; t+ O, J* m8 _

  135. % B# w. @! N! S( H( |
  136. ; request_order1 y; |5 t* O' y- [' ~
  137. ;   Default Value: None* k* G% ?  G* s& F
  138. ;   Development Value: "GP"" |# k( z8 X- |9 H% a6 ^2 K
  139. ;   Production Value: "GP"
    ) k: ^; I; z* ~7 {/ Z5 F& s& z, b

  140. 7 I: j+ L8 `) D
  141. ; session.gc_divisor* S, t' B' m# v% b4 b% x' Z9 C9 [
  142. ;   Default Value: 100
    1 E& l3 D) S( q3 }5 ~  C6 H& J
  143. ;   Development Value: 1000
    # {6 [2 t; J& M% B
  144. ;   Production Value: 1000$ ]* W4 w- b# ?; v$ @
  145. + L; f5 E/ i! d& E. i
  146. ; session.hash_bits_per_character: d* B, U! U' G, J# ^0 @
  147. ;   Default Value: 4+ [9 @, l! i! f6 R* @
  148. ;   Development Value: 5+ O2 f- Y8 n$ w
  149. ;   Production Value: 5
    5 e* `% x3 c2 u2 h2 _0 M, E

  150. ; Q+ g* q) r1 W& q; n9 `
  151. ; short_open_tag
    3 H' K9 i" O% V' V# i  X* F
  152. ;   Default Value: On$ `9 _3 n! ?$ B- H6 l) I& K2 o
  153. ;   Development Value: Off+ x: w5 O% x( G
  154. ;   Production Value: Off7 a  z& L- Z6 h, }6 w7 r8 z

  155. 4 W9 _) G. u4 I0 ~  R; o
  156. ; track_errors
    3 d) M, X6 @$ P
  157. ;   Default Value: Off: R5 [" c5 d7 L4 O$ y
  158. ;   Development Value: On
    $ g7 o0 S: m4 [
  159. ;   Production Value: Off6 S; L8 \7 W$ {7 o& a

  160. " {8 M) N' u1 G# L
  161. ; url_rewriter.tags
    & D% o! {* S3 E9 i
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    8 m8 ?3 E1 f/ ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 I# }; @- H; ?, o- G2 {  W6 [
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  ?) `& S* c0 l/ H: S
  165. 2 z1 J, t3 v+ M+ E2 x% x- Y, ~) O
  166. ; variables_order7 `0 q) V) U( S, G! X  X
  167. ;   Default Value: "EGPCS", m6 ?3 i: v. _$ H. m
  168. ;   Development Value: "GPCS"9 u: D  ~- G5 i9 `' c. u4 J. E/ e
  169. ;   Production Value: "GPCS"
    , L; o9 B% I' x/ f8 V; r5 o5 _: g7 R( [- p

  170. . n7 s. p  h) `8 L4 S, J
  171. ;;;;;;;;;;;;;;;;;;;;
    . c: [8 g' x( o5 l' A
  172. ; php.ini Options  ;9 u+ D5 |6 ~7 h- h# ^
  173. ;;;;;;;;;;;;;;;;;;;;& P1 ^, S5 g# r+ f5 |
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ; J0 A. n# J6 d4 R  K+ G
  175. ;user_ini.filename = ".user.ini"
    / a8 e8 a5 ]4 j- G1 u
  176. $ M) c9 [: x9 B- }- F- ^5 e' a
  177. ; To disable this feature set this option to empty value
    & r, W$ k  X' N- F, T9 k7 c2 a
  178. ;user_ini.filename =
    3 A. b2 L1 T8 n% Y% k! ]1 d/ h0 r

  179. 5 p& z% P8 p! [" ]0 E2 ^! a
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)1 h8 j$ ?3 z; i+ s0 I
  181. ;user_ini.cache_ttl = 300
    9 W7 j2 q; V0 ]0 s% H

  182. # t, X, |1 q4 r' C0 ]# f
  183. ;;;;;;;;;;;;;;;;;;;;
    0 K* k# K7 v/ y9 h% @
  184. ; Language Options ;/ E' B6 U, F1 e. Z5 N4 B3 K4 x
  185. ;;;;;;;;;;;;;;;;;;;;5 B# z: v. E, Q9 z

  186. 6 q9 ~4 l9 y, s, l2 t8 J
  187. ; Enable the PHP scripting language engine under Apache.; x7 }9 Q# Q! U4 {' h" ]$ y
  188. ; http://php.net/engine' ]  d. M9 l8 T! Y
  189. engine = On
    & t5 e" N7 D% ]2 e& E& a
  190. 2 ?9 N+ N5 @: i* O
  191. ; This directive determines whether or not PHP will recognize code between
    + K4 M+ g7 |' H# d
  192. ; <? and ?> tags as PHP source which should be processed as such. It is* `! D" Q& F# ]9 B
  193. ; generally recommended that <?php and ?> should be used and that this feature
    : l% c) P  k3 J" x
  194. ; should be disabled, as enabling it may result in issues when generating XML0 S% x( c* [8 Y: h
  195. ; documents, however this remains supported for backward compatibility reasons.
    8 e1 ?5 w* @; z/ {2 \4 d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    , j( H% F% j7 }4 R
  197. ; used regardless of this directive.
    ( ^/ I5 L9 E0 H4 ~' g. c
  198. ; Default Value: On  p; p  ?# A2 A9 p' x2 ~0 a. f
  199. ; Development Value: Off
    ' j' e4 ^% C, ]! C. o+ s
  200. ; Production Value: Off) E& R5 ?2 i& X* g! e
  201. ; http://php.net/short-open-tag
    ! w% S  ^' P' {7 q& E3 ]) s  `% S3 M
  202. short_open_tag = On
    2 m/ w6 `$ J0 e4 b

  203. 9 s7 i: {1 w  P: ^4 }! J2 m# h
  204. ; Allow ASP-style <% %> tags.
    , K' u' F) r  e# R5 C3 ~
  205. ; http://php.net/asp-tags
    5 Z% f! l3 D( i! L- r
  206. asp_tags = Off
    + e6 u: Q; h$ }+ m5 t, f
  207. # t' e! C' N: C3 a
  208. ; The number of significant digits displayed in floating point numbers.# Z( ~% Z6 h4 u+ H6 X
  209. ; http://php.net/precision
    9 b# i  K& ~: C- G$ v& }
  210. precision = 14# v" w, Z2 I7 W3 `' I& x- h) b

  211. # j9 r$ }- D! V
  212. ; Output buffering is a mechanism for controlling how much output data
    / |, ^# a4 Y' S  G( v  `: y
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 I9 n: W0 k- d/ u7 m
  214. ; data to the client. If your application's output exceeds this setting, PHP
    + z" r! I5 X, E9 U% F7 s. D
  215. ; will send that data in chunks of roughly the size you specify.
    6 d/ b2 A) O2 P9 @( S* I) p+ e
  216. ; Turning on this setting and managing its maximum buffer size can yield some. }, X& M; D+ {# p9 g
  217. ; interesting side-effects depending on your application and web server.
    ; d) l& Z& E5 n2 b0 l' l; y; ]9 ?
  218. ; You may be able to send headers and cookies after you've already sent output
    0 `- K' j2 X3 I! e$ @% F% `
  219. ; through print or echo. You also may see performance benefits if your server is5 J+ u3 R; ^& b8 W, f
  220. ; emitting less packets due to buffered output versus PHP streaming the output8 P9 o/ I) g' n- F
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance2 K4 e7 ?9 D6 [" `1 q) y% I
  222. ; reasons.6 {$ Q3 [' K1 k: u1 U
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    9 f! G: N0 v0 L# u" ^: W
  224. ;   functions.
    ; @% m5 B  A) i8 z0 T1 }. g6 d
  225. ; Possible Values:, H# N$ E& u! _3 }  z8 E! q
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    & o8 v: n7 ~$ \7 d
  227. ;   Off = Disabled: V+ Z% [: z6 j/ g% {$ A1 n
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    2 K, V3 T! \" h  V/ O* |7 u  f% Z
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI, _3 \' j: d! B
  230. ; Default Value: Off
    ( N1 M9 E$ p# Z3 D* k. `0 c
  231. ; Development Value: 4096
    % Z- }% f+ ]% v, X& y
  232. ; Production Value: 4096
    , g. D. t! ]! |: t$ ]! P' W& _; u
  233. ; http://php.net/output-buffering: v* U7 S" [; g( G& |; O9 [" z
  234. output_buffering = 4096# F2 s, M4 N1 B7 g1 P. e

  235. % n6 ?2 H7 z  U3 M6 n* {
  236. ; You can redirect all of the output of your scripts to a function.  For3 I- s7 T: m( K2 `
  237. ; example, if you set output_handler to "mb_output_handler", character8 x0 F6 S' s) N
  238. ; encoding will be transparently converted to the specified encoding.
    ( E8 m* F, o+ K1 z
  239. ; Setting any output handler automatically turns on output buffering.3 T1 i7 j* h; Q, A, S# v+ F+ q' r
  240. ; Note: People who wrote portable scripts should not depend on this ini
    / z$ b" g3 e) N. s; c
  241. ;   directive. Instead, explicitly set the output handler using ob_start().: x! E+ y! W1 [
  242. ;   Using this ini directive may cause problems unless you know what script, ?8 l2 H6 z! o. T; Y) O. E7 e1 I3 a
  243. ;   is doing.
    ) f0 |( T" e: V5 N5 r! q
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    - R7 Q' r! Q8 ~; i$ Z' B4 D7 G
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# h3 |0 j* t7 w1 a
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
      ~+ e6 b5 m7 |1 e( Q
  247. ;   Instead you must use zlib.output_handler.0 d4 Y6 ~  d( {# \5 k4 g8 R* N6 N" P
  248. ; http://php.net/output-handler. b1 {5 q9 x( j  j8 A: f2 p
  249. ;output_handler =8 M3 {$ w6 I) {. H/ V
  250. ( W7 }5 x' [0 h
  251. ; Transparent output compression using the zlib library8 S+ Y* X% R* x* _7 m
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + p+ L" D: {: `! h
  253. ; to be used for compression (default is 4KB)
    6 l2 W+ N& D7 S5 B- T5 R
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP/ s& Z  N/ A: `) }( r/ g
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    - _- U1 ~3 R4 F: a6 E0 A
  256. ;   compression. If you prefer a larger chunk size for better6 a2 I' l7 |0 \% M$ m7 P
  257. ;   performance, enable output_buffering in addition.
    # J5 D* r% z  v( N' a
  258. ; Note: You need to use zlib.output_handler instead of the standard8 ]' Z) J+ W: [7 D1 x# v, y) ^9 N
  259. ;   output_handler, or otherwise the output will be corrupted.! k; e, U) d6 U9 H4 a
  260. ; http://php.net/zlib.output-compression
    4 R/ O1 S; {( K& {
  261. zlib.output_compression = Off
    5 o3 H4 T! h9 O8 p! Z' z

  262. 6 T/ g& o. f! Q+ w; b# ~
  263. ; http://php.net/zlib.output-compression-level
    , U0 t4 s$ i+ n1 N2 j
  264. ;zlib.output_compression_level = -1
    5 ^' o2 c# g: G2 I  Y6 D! s0 |
  265. + @: D( v+ \( ~, `
  266. ; You cannot specify additional output handlers if zlib.output_compression1 N8 c) V- E  u9 n/ O( p- Y
  267. ; is activated here. This setting does the same as output_handler but in
    # e0 P" b3 y5 n& X5 E$ r' P
  268. ; a different order.
    9 p; c# I% N) O/ `/ ]
  269. ; http://php.net/zlib.output-handler
    ; X6 t+ X, L2 d# r3 z
  270. ;zlib.output_handler =: K7 w& V! B" e1 ^- q$ U- j% |2 t

  271. ) j5 p; E/ V) I: C( W
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    & f, m. S4 V0 h: @( z3 R
  273. ; automatically after every output block.  This is equivalent to calling the5 A" A1 c- K+ |- W
  274. ; PHP function flush() after each and every call to print() or echo() and each
    $ t' i) v. c" ^7 B$ g, a
  275. ; and every HTML block.  Turning this option on has serious performance) W. v- C3 G4 v- N4 ^2 q2 c" L
  276. ; implications and is generally recommended for debugging purposes only.
    , r+ o8 I2 u7 |: K3 f* n# ]
  277. ; http://php.net/implicit-flush
    9 G2 G" Y: [! Q% s- g- I' n
  278. ; Note: This directive is hardcoded to On for the CLI SAPI8 u* I9 A1 H8 y  M7 @2 D: ]
  279. implicit_flush = Off
    1 j; {3 w6 Q5 u8 G* R
  280. ( ?$ @  G4 O- X' x6 u: H
  281. ; The unserialize callback function will be called (with the undefined class'% L) y( U. h. @9 N8 j5 M
  282. ; name as parameter), if the unserializer finds an undefined class3 Y( t- x7 P1 G/ E3 K
  283. ; which should be instantiated. A warning appears if the specified function is$ H5 _+ y  ?/ w$ O
  284. ; not defined, or if the function doesn't include/implement the missing class.
    3 R# j9 O, Q! D4 t5 L8 q
  285. ; So only set this entry, if you really want to implement such a
    " |$ J( r* g0 v
  286. ; callback-function.& v9 ^) K" b1 T" z8 e4 ^
  287. unserialize_callback_func =$ |# }" t. N. `

  288.   P9 `* Q* b! C  p7 L
  289. ; When floats & doubles are serialized store serialize_precision significant
    ; S: C/ W" H: a/ r6 ^
  290. ; digits after the floating point. The default value ensures that when floats3 R" c1 A! d4 u% |6 ^7 k9 A
  291. ; are decoded with unserialize, the data will remain the same.( n% S" K  q. y  C. F6 _" W
  292. serialize_precision = 17
    7 w% s! I9 V( u' p% _4 `
  293. . w) q& K: |) y: G' y
  294. ; open_basedir, if set, limits all file operations to the defined directory4 [- g4 m: k+ y* w8 V" k6 k& s
  295. ; and below.  This directive makes most sense if used in a per-directory
    / N0 p/ G: X3 ?
  296. ; or per-virtualhost web server configuration file.3 N3 Y, o$ O3 _/ v! X* `
  297. ; http://php.net/open-basedir8 |* \) l3 S8 A* ?: i
  298. ;open_basedir =
    6 a0 p) _7 r* Y! r
  299. : I$ E/ t. z9 U' c! w+ l7 a
  300. ; This directive allows you to disable certain functions for security reasons.
    3 F9 O0 S. [0 w* F$ e; g
  301. ; It receives a comma-delimited list of function names.
    4 d2 r9 A% q# ^( I" u
  302. ; http://php.net/disable-functions% d, \" B, W, ]; _3 C$ ~
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru+ w" _; t" @- c

  304. ( P- j# i- W) f9 L+ K' G
  305. ; This directive allows you to disable certain classes for security reasons./ ^2 W: {0 E; X) e0 j0 r6 T
  306. ; It receives a comma-delimited list of class names.
    ) R. W* z5 [; z' A# Z
  307. ; http://php.net/disable-classes
    1 C5 Q1 W1 Q7 B, F
  308. disable_classes =4 q2 l9 S$ b6 d& W0 Z) ^' u

  309. + |! m, ?8 c: A8 P" a; W! }
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    9 c6 s0 o. z7 q& f3 C
  311. ; <span style="color: ???????"> would work.
    1 {! G# {1 \" I7 b
  312. ; http://php.net/syntax-highlighting
    ; k* F) \$ l$ I4 B' B- v
  313. ;highlight.string  = #DD0000$ V) t$ Q! j% Q% R+ O( \8 |0 f
  314. ;highlight.comment = #FF99008 j6 K- S0 ]# p. W% t3 S6 C
  315. ;highlight.keyword = #0077004 f; S% u- E2 e( y  c) }' A4 O: R1 d
  316. ;highlight.default = #0000BB' D/ ?4 \, A( q- ^4 ?( k
  317. ;highlight.html    = #000000
    : Q* L, z+ F. ^0 P, B4 T9 F
  318. + p: G% L2 W. |+ K# g+ u7 a
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    $ N2 _( F) Z' E& e! u. ]
  320. ; the request. Consider enabling it if executing long requests, which may end up
    : g* v( ^  a( F7 M' m6 c% t  }% Q
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior9 @$ L  `9 B- t) S9 T; u% D0 r9 U3 D
  322. ; is to disable this feature.
    8 v2 z" Y7 ?3 Y3 V. r
  323. ; http://php.net/ignore-user-abort* Y& Z1 Z5 M4 ~
  324. ;ignore_user_abort = On5 \& M6 E1 _' }+ S

  325. " y! C  R$ L: F: f- j
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    % e) A1 [5 |# O
  327. ; be increased on systems where PHP opens many files to reflect the quantity of  ?) e% q  d! \8 W
  328. ; the file operations performed.
    5 b% U- W( Q/ A7 @/ v: r. o
  329. ; http://php.net/realpath-cache-size
    : b5 L, B& q' y% D5 j5 u
  330. ;realpath_cache_size = 16k
    . I8 _* H( E+ d: f. k* L0 \! P
  331. * A9 k. J* L5 Q) z
  332. ; Duration of time, in seconds for which to cache realpath information for a given$ G3 V1 i/ K7 F5 K; p' C- ]6 f. J$ m. x
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ' C  u6 u# q* A3 J
  334. ; value.- c( x- O. N% I5 w+ P. u
  335. ; http://php.net/realpath-cache-ttl! Y, d6 S& j" n( o
  336. ;realpath_cache_ttl = 120
    9 B& v; {" R; D7 S

  337. & \8 X7 m, f. A
  338. ; Enables or disables the circular reference collector.9 X! G* t% T5 D) ]9 o& u8 u
  339. ; http://php.net/zend.enable-gc
    0 H7 s; y+ ^1 Q4 x9 M
  340. zend.enable_gc = On; ^( [5 c$ R- X) E  i$ E6 T

  341. ' w6 N3 R  ^$ p" o( N5 N
  342. ; If enabled, scripts may be written in encodings that are incompatible with8 y7 V/ \4 Z/ F( U& \
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    2 A" k7 u0 U1 Q' ~7 ?  F) E
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    # C. t; D$ G6 r6 A  s/ Q
  345. ; Default: Off3 L- ]8 ~0 c/ C7 ]; A. X6 E% P
  346. ;zend.multibyte = Off
    9 P8 ]1 n- G6 ~- A% U. h4 X

  347. . W6 {( I+ j/ @
  348. ; Allows to set the default encoding for the scripts.  This value will be used6 x& E& w2 C) b0 w2 N/ ^# b
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 _6 c; T/ {7 c: E9 B' R
  350. ; Only affects if zend.multibyte is set.: ]: [( A0 u# l$ L8 q
  351. ; Default: ""2 c# \" Y; b6 G% H  D( u
  352. ;zend.script_encoding =7 B) B! k! l+ ^
  353.   A7 ~- M3 ^. z- s( U5 ^
  354. ;;;;;;;;;;;;;;;;;+ V  D& B/ `. y. ]1 z2 ?
  355. ; Miscellaneous ;: ?3 V, q. e5 _% }; q+ l0 m
  356. ;;;;;;;;;;;;;;;;;
    % D/ S: i, m7 D+ f9 T3 J' u, H

  357. % ]* i- l/ i9 L( N
  358. ; Decides whether PHP may expose the fact that it is installed on the server5 i; P3 C- ]  o* |1 K
  359. ; (e.g. by adding its signature to the Web server header).  It is no security# c8 T& {+ L* b. L4 A0 d! o$ i
  360. ; threat in any way, but it makes it possible to determine whether you use PHP$ w# S' X6 a2 B5 s
  361. ; on your server or not.
    1 p/ V+ z9 _& A" _7 T, Y. W4 X
  362. ; http://php.net/expose-php0 d1 p) k, f) L: l- z
  363. expose_php = On! s# O3 T: I' w# m/ @" S
  364. : M( J2 P. f$ u7 }
  365. ;;;;;;;;;;;;;;;;;;;( i; Q. m4 p. u* Y0 Y
  366. ; Resource Limits ;; a" U2 X) H! [* _6 z' i* S
  367. ;;;;;;;;;;;;;;;;;;;& g& p- ]2 [4 r% u. t) h6 Z' v+ B

  368. 1 `+ \7 |5 ?3 P3 I/ b$ k- \! ]
  369. ; Maximum execution time of each script, in seconds( Z) c' Y) h0 V2 p" R) _% r* b
  370. ; http://php.net/max-execution-time
    " m6 {2 ^4 p8 w* n# C0 M7 y: c# V
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI0 {4 o0 L, s0 [/ e$ Y8 R
  372. max_execution_time = 300
    . w6 Y+ p6 Y3 O& Q
  373. . E* ^7 d5 e# O1 K: W4 q, [1 ^
  374. ; Maximum amount of time each script may spend parsing request data. It's a good6 g2 E% H' k- F
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    - d2 R. |# c" F* F' B8 ?6 J
  376. ; long running scripts.
    $ d. a. K- L4 a" Q5 C. H% [: T
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI" h' z4 ^' c- {, E" j' t- E
  378. ; Default Value: -1 (Unlimited)3 F8 D6 o6 U' C, w3 i$ V. J
  379. ; Development Value: 60 (60 seconds)
    # ?8 u  |1 n3 k( ]! P
  380. ; Production Value: 60 (60 seconds)7 M; W: W% n' S2 r; b4 B
  381. ; http://php.net/max-input-time, P9 X& Q. g9 B
  382. max_input_time = 60
    7 \/ r0 q  f9 @. G. e. k# R

  383. * n# ~# M0 N. A
  384. ; Maximum input variable nesting level& L' t9 x. G2 _8 Z
  385. ; http://php.net/max-input-nesting-level9 O4 Q8 Q  e, g9 ~
  386. ;max_input_nesting_level = 64
    4 c; a2 g* {8 ?

  387. ( ?% A6 D5 {3 G
  388. ; How many GET/POST/COOKIE input variables may be accepted
    & F4 K$ {' N- b9 q* G; u
  389. ; max_input_vars = 1000) P$ `6 Z" }+ E+ c9 a" ?% k  N- i
  390. & d$ h* ~, ~% X" T* A2 V
  391. ; Maximum amount of memory a script may consume (128MB)
    4 a* `) G; G& \3 Z/ B% |  b5 i
  392. ; http://php.net/memory-limit. {8 L' k+ |: j6 D6 W' c' K
  393. memory_limit = 128M6 O) f* I: s3 `# M$ Y
  394. # k3 q/ u/ p$ l1 E3 ?
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% @4 J$ y) R( ~! e! w; L6 E
  396. ; Error handling and logging ;
    ( a( R: z' h; X6 u
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " ~" f. N) X/ c7 m* }" w

  398. 8 h4 g. W5 w# i
  399. ; This directive informs PHP of which errors, warnings and notices you would like5 x- n5 v7 m, i/ l
  400. ; it to take action for. The recommended way of setting values for this6 T+ l4 w3 b- f7 p
  401. ; directive is through the use of the error level constants and bitwise
    & W) J# ]- O9 j! C8 t7 B/ h
  402. ; operators. The error level constants are below here for convenience as well as
    0 V3 u; [/ [3 t9 e4 C. S
  403. ; some common settings and their meanings.# |( `- L  t4 f# P1 b: E; x
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    1 W4 Y, x; G' J* m2 m2 d! m2 {" g4 r! l
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and" m( J# D8 R( s) R, s) A4 G
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    1 R' A: l# X9 g+ L. w1 P
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    " f- M, H! {  A, F/ r& x
  408. ; resources complaining about best practices and coding standards. That's what# X$ c& {  k2 ]6 l
  409. ; development servers and development settings are for.1 L7 E3 }' |" i
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    . P; W1 l/ m! s1 x
  411. ; means it pretty much reports everything which is exactly what you want during. j, S/ d& \+ _) \- w9 {
  412. ; development and early testing.
    . v, K. q( V7 y% \
  413. ;
    . e  ~; \0 L4 t- U  Y
  414. ; Error Level Constants:
    % C# u& K2 t% y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! ~. h! |* |. \/ b' _( J
  416. ; E_ERROR           - fatal run-time errors- U" a2 a: F9 n' N1 ], z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors* _7 x9 j, |! t: c
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    / }5 I  q3 i0 W: D" z
  419. ; E_PARSE           - compile-time parse errors
    $ S. F: X  L6 M+ F3 r, L& h) Y
  420. ; E_NOTICE          - run-time notices (these are warnings which often result: S- v0 b) E8 T2 P" D$ ^( ^
  421. ;                     from a bug in your code, but it's possible that it was( O5 J. c! R5 x4 ^
  422. ;                     intentional (e.g., using an uninitialized variable and, S9 Y3 e! B0 C9 J9 ~$ u
  423. ;                     relying on the fact it is automatically initialized to an
    ( a2 o0 Q9 Y- a; C7 e
  424. ;                     empty string)* r) o3 |: f' Z" W* G7 F
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    9 V3 c6 x3 L! Y" ?' b+ V$ m
  426. ;                     to your code which will ensure the best interoperability( X$ N; J. T! L4 I
  427. ;                     and forward compatibility of your code
      j; M* f: f, x4 Q9 R  l0 [
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup, U( m" z* V  m. }, J
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's( l, o2 R- E) j4 N3 N
  430. ;                     initial startup
    9 `: z/ D$ E# Y. }' L' b$ {: @
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' p& q" e! z1 _/ c- u
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)/ h2 j% S% i8 G; D
  433. ; E_USER_ERROR      - user-generated error message2 X  k) ]- M# V; ^
  434. ; E_USER_WARNING    - user-generated warning message0 p( B6 \6 o' G  k( a8 O& G
  435. ; E_USER_NOTICE     - user-generated notice message
    + a$ `$ x$ @; A' w4 v
  436. ; E_DEPRECATED      - warn about code that will not work in future versions" ]5 j! I. D% V% B5 L1 i
  437. ;                     of PHP$ B: y0 g9 B4 @2 r% ?1 @' Q
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings* F! ^. Q; G4 ~/ f9 m4 {
  439. ;* Q) M+ \4 c4 W. q$ _$ ]
  440. ; Common Values:
    $ c7 d1 U: y/ A8 R3 `+ }
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.): P! ?  M" X8 b1 E0 a, u7 `2 `
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
      R7 q9 U6 S/ a# Y. y
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)  _5 q( J& b: \* I8 J
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    / F# C4 ~: z  x1 M9 @: u
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      S$ j" B5 ~1 s( J3 o5 N
  446. ; Development Value: E_ALL
    * `0 d9 k! r/ x6 x; }% Q4 I* q
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT& c8 I- U' d0 z
  448. ; http://php.net/error-reporting! D) q, o! V3 T7 b  R9 a5 N% S% K4 o) B
  449. error_reporting = E_ALL & ~E_NOTICE7 F, @; E# w7 V$ P5 o. p7 H4 i

  450. 7 F! v) Y1 `) |$ `( X5 T" Q
  451. ; This directive controls whether or not and where PHP will output errors,
    8 k2 `5 ?9 K9 m) J6 ?
  452. ; notices and warnings too. Error output is very useful during development, but& a( D2 [) Y5 m
  453. ; it could be very dangerous in production environments. Depending on the code+ _1 a# d$ b& u$ P8 g0 g$ ~
  454. ; which is triggering the error, sensitive information could potentially leak
    / b" D# g: C$ ^' b: ~7 K7 \
  455. ; out of your application such as database usernames and passwords or worse." t' O/ Z# [* m7 k: Q
  456. ; For production environments, we recommend logging errors rather than' R8 K# i6 T0 D5 W
  457. ; sending them to STDOUT.
    0 P0 E. n; Y& y) y" h. \
  458. ; Possible Values:
    5 \, k6 U0 O! u6 @, q2 q+ ~
  459. ;   Off = Do not display any errors
    & h& B8 a& D* k
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ( f! K" P3 N' P3 `6 N3 u
  461. ;   On or stdout = Display errors to STDOUT
    8 l% W* \( K; y
  462. ; Default Value: On
    . p7 m5 C! u$ o. @; d; S
  463. ; Development Value: On5 i; Y: V5 E8 Y7 z" B. H% l8 U
  464. ; Production Value: Off
    $ o2 x2 ^* M7 g: s
  465. ; http://php.net/display-errors
    0 D, r; s' _) ?1 S0 q1 B/ u4 h- Z
  466. display_errors = On
    ( J# ^1 F) K7 a# F0 w# D. v

  467. - v' f% \; A% @0 \. d
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ' I/ F8 A& |9 z) q! B
  469. ; separately from display_errors. PHP's default behavior is to suppress those% A4 b& j* ~% V& }) a. p2 I
  470. ; errors from clients. Turning the display of startup errors on can be useful in; I4 n' i) \$ H
  471. ; debugging configuration problems. We strongly recommend you
    / F2 P, @4 {% G# Z9 {
  472. ; set this to 'off' for production servers.
    + J$ `  o+ j/ T* k; X9 @
  473. ; Default Value: Off
    3 b/ ^0 E- a  F
  474. ; Development Value: On
    , \0 L" ~1 w* v2 \/ r' D
  475. ; Production Value: Off. @' d4 U, j7 w0 \. Y8 e
  476. ; http://php.net/display-startup-errors4 j, A# q) k# W, b
  477. display_startup_errors = Off
    ( h- S. P+ F+ T: l( l
  478. : s2 S. y# ?8 C8 h: |
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    * E9 l% c8 _. y8 B% h, z
  480. ; server-specific log, STDERR, or a location specified by the error_log) B3 u& A5 K. t* O2 I
  481. ; directive found below. While errors should not be displayed on productions8 E. x. B  |1 z; r( v1 v
  482. ; servers they should still be monitored and logging is a great way to do that.
    $ K" n4 s% H4 |: ^' m5 `
  483. ; Default Value: Off
    5 M+ H" g9 g$ g
  484. ; Development Value: On' V9 R7 B0 n+ U" E' Q. a6 }
  485. ; Production Value: On
    8 W: \3 H$ P/ N
  486. ; http://php.net/log-errors
    % R) Z- C, J  O; K) ~5 m  h
  487. log_errors = On0 H1 d, }' r7 _3 L3 {* _8 I
  488. 0 _# @' B2 q' z/ j( s# @/ Z5 l
  489. ; Set maximum length of log_errors. In error_log information about the source is6 j+ ]' j* R5 ]0 k
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.$ v' K! Q) [4 y! f% K+ U
  491. ; http://php.net/log-errors-max-len
    8 `/ I7 B& J2 N4 {) ^) w1 r2 ~
  492. log_errors_max_len = 1024
      u2 P' c' `  q% [, ~) \) S9 T

  493. 6 ]! E! a+ O6 s4 v. \( W- B* U) Y
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    1 ~% V7 v: N% Y  f2 V  a
  495. ; line unless ignore_repeated_source is set true.( {; {8 M  f) J$ N
  496. ; http://php.net/ignore-repeated-errors
    ! k6 J: ^4 D! ?/ R
  497. ignore_repeated_errors = Off
    % ?# |2 Y6 y+ @# X; l$ d

  498. ) q+ ~* }7 u9 [4 I6 n% t, F
  499. ; Ignore source of message when ignoring repeated messages. When this setting! j% _# ]$ `1 J; T8 m3 M& z6 V
  500. ; is On you will not log errors with repeated messages from different files or  ?1 ^$ Z) ]. T4 Q- u! Y. w7 b
  501. ; source lines.
    3 l! E5 ~: `; @8 \+ t& `; W
  502. ; http://php.net/ignore-repeated-source
    6 M' Y9 o7 z' M( R
  503. ignore_repeated_source = Off/ K- W0 x" i6 Z  C7 z3 h9 G

  504. ; ~  h0 r1 I# Y5 s
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ( y8 o% r2 j" y, T
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    5 \' i) G3 V2 J" s' j+ t
  507. ; error reporting includes E_WARNING in the allowed list
    3 B' p) U4 D4 Q, D9 `$ ]  v. E
  508. ; http://php.net/report-memleaks
    9 n1 x0 s8 x' ~  [& V, I
  509. report_memleaks = On! x# k3 k, _6 G2 z- J$ I

  510. - V$ o6 M) J8 ^' ?5 F' e( |3 l
  511. ; This setting is on by default.- g) B  M5 J% A6 Q, [
  512. ;report_zend_debug = 0
    * v& U8 r4 R; V! E- `8 {) }
  513. # S- Y: s% g' M. A& {
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value# q- S5 J& \+ b7 @3 |  ?" m
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    4 J' m# I% X, u6 C/ H2 b
  516. ; however be disabled on production servers.
    " r8 r7 g! Y8 Y7 j( @' E4 b
  517. ; Default Value: Off
    5 l- B3 M' u, f- T2 [6 s3 Z
  518. ; Development Value: On/ E9 `& M8 ]4 B- m  F, R
  519. ; Production Value: Off
    ; {3 t5 x# [6 c6 \, Q
  520. ; http://php.net/track-errors6 _- U( K5 |8 P# U  t0 s
  521. track_errors = Off
    + y+ O2 l' `$ M( `9 t
  522. / i. w- U) m* Z9 R  l9 U- q
  523. ; Turn off normal error reporting and emit XML-RPC error XML1 x! [) ]2 |6 ?
  524. ; http://php.net/xmlrpc-errors! q5 A& o! ?6 v8 r
  525. ;xmlrpc_errors = 0
    + l$ e9 e5 w& K
  526. 7 K: p' a& Y3 D/ u0 P" f
  527. ; An XML-RPC faultCode2 x) Q- ]. P  U
  528. ;xmlrpc_error_number = 0
    1 S2 o, e& b; D) J/ O% }2 X$ j
  529. ( A4 z  I) p! u( m  d( |+ l( h
  530. ; When PHP displays or logs an error, it has the capability of formatting the4 S4 r# X) q( w% K; C: `
  531. ; error message as HTML for easier reading. This directive controls whether
    & H6 m  g# N! H, l7 Q6 ~) J
  532. ; the error message is formatted as HTML or not.
    2 V  S4 a7 U# C* g( I/ e) [% B
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + m; o! `* `  D7 N% n
  534. ; Default Value: On
    1 l# H5 t& }% i; B, A
  535. ; Development Value: On
    0 G/ S3 [# k1 t: L& H
  536. ; Production value: On
    * {  K. E, }! Y' [2 T6 d
  537. ; http://php.net/html-errors/ ^( }) `6 u9 D+ |9 c9 a7 @
  538. html_errors = On
    % W0 i+ S4 D- N. c
  539. 4 G  A3 R( {9 a6 P: V- [
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP9 w1 E) O0 n- w" k- y1 x0 E3 M/ b
  541. ; produces clickable error messages that direct to a page describing the error- j0 C! W; w& C* g  P+ B" a
  542. ; or function causing the error in detail.4 K$ @' p( T6 D$ d; L, j
  543. ; You can download a copy of the PHP manual from http://php.net/docs6 d$ z2 Q) r  P% L$ q
  544. ; and change docref_root to the base URL of your local copy including the1 H3 j' b/ B" A0 |" x  G$ J
  545. ; leading '/'. You must also specify the file extension being used including
    3 F) H: O5 n. }
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which: h3 m: E6 e% a6 P+ N' k' t  F
  547. ; case no links to documentation are generated.
    6 z& ~& C5 q; l! r) P+ @5 M* I
  548. ; Note: Never use this feature for production boxes.
    - [! ?( {4 c" [+ X! t
  549. ; http://php.net/docref-root* u! ~1 V5 V, |' g5 L/ N6 n' K
  550. ; Examples
    1 Y8 O0 F* I3 a' o( _
  551. ;docref_root = "/phpmanual/"+ d8 ~' A6 \# \/ t$ R5 N1 M: R

  552. 6 u0 `9 M) b8 O5 x$ p! C# _
  553. ; http://php.net/docref-ext
    & O4 a" M. W4 c+ Q/ P0 Z- a
  554. ;docref_ext = .html: g: k% k0 f6 J4 Q

  555. 0 H- S! ~* M5 A& u+ ~; _4 ]0 S
  556. ; String to output before an error message. PHP's default behavior is to leave, r1 A5 |+ v* L5 }# L8 g
  557. ; this setting blank.
    ' x* h2 r' {! N! I
  558. ; http://php.net/error-prepend-string
    8 o. V2 j! A" O$ }9 c$ M
  559. ; Example:
      `' V5 i, ]* U9 N! D
  560. ;error_prepend_string = "<span style='color: #ff0000'>"4 K: B, n8 Y& b& B1 `: S

  561. 8 T/ B$ A. ?# N0 S
  562. ; String to output after an error message. PHP's default behavior is to leave
    * o% A3 m: n6 H
  563. ; this setting blank.6 j3 D4 _4 I  \8 Q) L
  564. ; http://php.net/error-append-string
    7 J2 P0 P. ~' X, o1 r3 M# B
  565. ; Example:* v. {9 A9 _% d/ R
  566. ;error_append_string = "</span>"
    $ o* u- T! q1 v$ F
  567. ( `6 Q+ ], e9 Y7 B1 F) X
  568. ; Log errors to specified file. PHP's default behavior is to leave this value' [/ {: r, {9 O; n3 U& u( X
  569. ; empty.
    2 I( p5 a+ g1 y+ d! w  U
  570. ; http://php.net/error-log4 X1 @2 S( y5 }9 b3 U' Q" \; y
  571. ; Example:
    ) Q, q) W) U$ X5 u, i  J1 @+ i
  572. ;error_log = php_errors.log, b4 |( i" i9 {: M) x- A. W
  573. ; Log errors to syslog (Event Log on Windows).
    9 ]; m* X  Z$ u- m
  574. ;error_log = syslog( }6 E' O" F4 ?- P0 ^! `/ A+ h" Z
  575. - p1 A# l  m6 F$ @. M3 ~
  576. ;windows.show_crt_warning
    ; S3 c; ~8 K; k
  577. ; Default value: 0) q4 s3 W/ E" d$ g4 p/ x6 D0 x
  578. ; Development value: 04 r/ N, q& B4 F4 p. h3 i  W
  579. ; Production value: 0
    ! O; C' E0 r4 B9 W* J, B
  580. 9 s1 @+ P0 D2 Z$ j! f: U
  581. ;;;;;;;;;;;;;;;;;
    6 S/ w/ h5 K3 ^3 G
  582. ; Data Handling ;
    ) T# o& r: z" Y; m
  583. ;;;;;;;;;;;;;;;;;
    0 ~" }* y2 A/ Z/ U8 x
  584. 6 M! y! Z9 w/ l5 @7 S6 V5 z1 d
  585. ; The separator used in PHP generated URLs to separate arguments.3 v  Q5 ^8 m- b$ C* W
  586. ; PHP's default setting is "&".
    - \9 U( d/ u4 W' U* h) Z" q) r
  587. ; http://php.net/arg-separator.output: G* W3 H7 w2 b9 R  L! `
  588. ; Example:2 Z; m- S5 W% S( m* _
  589. ;arg_separator.output = "&amp;"
    * W. o" |7 c8 k( V2 a+ S* a

  590. ! z4 I* L( t0 D% S& {
  591. ; List of separator(s) used by PHP to parse input URLs into variables.& P3 }) C- C" W- g! R* r$ D
  592. ; PHP's default setting is "&".& C0 P" K& z1 `& C" Z: _- {6 x( k
  593. ; NOTE: Every character in this directive is considered as separator!2 o: f2 [8 L! ?3 l
  594. ; http://php.net/arg-separator.input8 D* B  }$ j( u/ E
  595. ; Example:. P: _) k& v  c4 Q2 o4 p/ u) c
  596. ;arg_separator.input = ";&"
    , S" f; t3 ?" W
  597. : ]9 Z- i3 Q- W4 m+ H" }
  598. ; This directive determines which super global arrays are registered when PHP
    $ B, }' A! v! ^9 N
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    3 t$ y% T0 r3 j* `: j/ G
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty3 H9 D; S& N$ C. k, V
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    4 }& q. H1 u9 W9 A# V! M5 `5 }
  602. ; used as the others, ENV is not recommended on productions servers. You
    2 f' h+ w8 b7 ^+ T6 q* d
  603. ; can still get access to the environment variables through getenv() should you
    , X# L# P( c( A' O! d& P, }! k' m" m
  604. ; need to.
    3 x( v: h; y+ V" o
  605. ; Default Value: "EGPCS"$ y; Q  n1 d: W
  606. ; Development Value: "GPCS"
    . a5 p* O# a* L% e
  607. ; Production Value: "GPCS";
    : N+ c7 i: E& c  j! W  [
  608. ; http://php.net/variables-order
    7 P# K1 a6 h" J* M8 A5 m& x
  609. variables_order = "GPCS"
    + w6 C$ a; e1 K0 K- j

  610. : T1 p( J1 a1 j8 U
  611. ; This directive determines which super global data (G,P & C) should be
    2 e( _2 M, Y( a% g, U* w  d' z1 [1 A
  612. ; registered into the super global array REQUEST. If so, it also determines, e+ J1 z- [7 I! ?
  613. ; the order in which that data is registered. The values for this directive# J: n' P- x. O) o
  614. ; are specified in the same manner as the variables_order directive,  v. W5 p/ n+ O* \( |
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set9 x. W- M0 l# V
  616. ; in the variables_order directive. It does not mean it will leave the super
      b- d8 X: Z/ [' Z  \
  617. ; globals array REQUEST empty.
    # Y  A) E3 j2 L) _8 k! t9 g; a2 ]: S
  618. ; Default Value: None
    ; J6 n* V, |' ^! ~" d6 k6 {
  619. ; Development Value: "GP"2 Q. T& A" e1 y- r% V+ r9 ~* C
  620. ; Production Value: "GP"4 x" B4 I# U% s
  621. ; http://php.net/request-order" R6 y& l0 F) r( c, _9 H
  622. request_order = "GP"
    7 e* X2 J8 t# |
  623. 6 z$ N2 Z& M/ g. c! a# r
  624. ; This directive determines whether PHP registers $argv & $argc each time it- n, ~# ?0 o- i& ?& S# m. h* x
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script5 g' Q5 D; n" ~6 X( }
  626. ; is invoked. $argc contains an integer representing the number of arguments; V4 W) B2 c; Z) t2 ?
  627. ; that were passed when the script was invoked. These arrays are extremely8 @3 Q4 y8 H# {, g3 Y6 r
  628. ; useful when running scripts from the command line. When this directive is
    : }/ b: U% }& b3 u0 \0 q% I
  629. ; enabled, registering these variables consumes CPU cycles and memory each time) {' d3 G  z9 q) |1 i: h" k% t6 T( G3 V
  630. ; a script is executed. For performance reasons, this feature should be disabled3 o/ P2 n# h. f
  631. ; on production servers.
    * r: A+ D6 u$ ~4 t' \
  632. ; Note: This directive is hardcoded to On for the CLI SAPI) e: }0 t4 `5 v( d$ p
  633. ; Default Value: On, N- g6 Z1 T5 h1 {# Q
  634. ; Development Value: Off
    - D0 B+ M- P$ @/ K
  635. ; Production Value: Off$ l% [2 s8 S) y# _/ s7 h5 R
  636. ; http://php.net/register-argc-argv
    " E) n1 T6 ?* [7 G6 H2 p5 W
  637. register_argc_argv = Off
    3 V0 x  A5 |0 q+ _7 a
  638. ! J- n: G9 H; a# A$ O6 l. K* ~7 o
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're9 G* r4 E6 D/ f9 ^' B
  640. ; first used (Just In Time) instead of when the script starts. If these
    # O3 F7 h/ w/ M! }4 h% E+ z  V
  641. ; variables are not used within a script, having this directive on will result" H% r# N8 K; b, x% ~
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # p' |/ m3 O8 w
  643. ; for this directive to have any affect.
    5 k# S1 q. U5 {" H+ R6 a1 A6 `9 h* |
  644. ; http://php.net/auto-globals-jit
    3 w8 V! Q4 [" R$ f4 r; x, p
  645. auto_globals_jit = On
    ' I! m8 g. [/ a4 F& v) t! f

  646. ( T4 E% K& \  {, Z/ s) i$ M
  647. ; Whether PHP will read the POST data.
    4 P5 q6 w( ?, T; b# z) g  S
  648. ; This option is enabled by default.# C5 J9 N5 p( r$ H
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    8 J- q! `$ r) x/ |' S% Q
  650. ; and $_FILES to always be empty; the only way you will be able to read the4 C3 _1 k9 ^5 F( U/ j" U6 i
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    & c/ a- H6 N0 S
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    $ W1 r, j- S) x4 N0 {; J
  653. ; http://php.net/enable-post-data-reading
    4 P0 C0 P0 R2 r
  654. ;enable_post_data_reading = Off" C$ |% y& R. b1 @" h" k5 V  ^

  655. - d0 p& k/ e8 n; u/ B/ N
  656. ; Maximum size of POST data that PHP will accept.# D( \* k1 q; S' d5 M' O) ]
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    * T; I) h( y# `& B, Q. v" v  X
  658. ; is disabled through enable_post_data_reading./ P( o: M0 ]& p7 d+ @) ?
  659. ; http://php.net/post-max-size
    9 ^% T% @8 q# D$ j1 l+ R" x3 N
  660. post_max_size = 50M
    ) Q& f; Y% t3 I0 ^& a4 i: C
  661. 5 D5 R2 p3 P# B! H
  662. ; Automatically add files before PHP document.
    ! y* ~; s7 X( P6 E
  663. ; http://php.net/auto-prepend-file6 A" R" M) q( O
  664. auto_prepend_file =+ D/ p. Y4 n1 v: x+ ?( U

  665. 2 Q! X' g% n1 r
  666. ; Automatically add files after PHP document.
    1 J: R/ ?2 F' m  a5 N' z3 s
  667. ; http://php.net/auto-append-file
    # q- v3 M+ m0 T& h
  668. auto_append_file =) @' X5 S/ Q* p  [" a4 c

  669. ! ~, E- I9 u" M4 X! E
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ( t) M1 P6 L" T$ n' M" B; ~- A, {3 U
  671. ; disable this, simply set it to be empty.6 x3 V; G8 L: c. V9 n$ M# H$ l
  672. ;6 }# x0 B9 o8 c' z
  673. ; PHP's built-in default media type is set to text/html.  m7 f" ~! n# C2 ]
  674. ; http://php.net/default-mimetype7 C2 J: v2 m! M
  675. default_mimetype = "text/html"
    . `  z1 n* y7 j4 ^2 O! O/ ]' t
  676. - j- t& z# F, N: J) k' U
  677. ; PHP's default character set is set to UTF-8.# B# K: y# g' a9 Y' A
  678. ; http://php.net/default-charset8 w6 s' W" q" k6 b! n
  679. default_charset = "UTF-8"
    4 l& R$ T1 U. L/ [

  680. 8 Z* G) Y# }8 F) u# c; ]* z9 K8 V
  681. ; PHP internal character encoding is set to empty.: D( N5 K) U4 W9 b/ T8 }
  682. ; If empty, default_charset is used.9 C5 C% e. Y2 @5 a
  683. ; http://php.net/internal-encoding
    5 T+ {# C$ o! `1 H2 _  \( g2 e
  684. ;internal_encoding =! X, I9 \# d1 @6 a7 U

  685. 3 X4 B7 C, `/ B. f9 U+ h. r7 I
  686. ; PHP input character encoding is set to empty.
    3 R; N# p( B8 r; `1 W
  687. ; If empty, default_charset is used.
    / v% E: ^! h/ K! c
  688. ; http://php.net/input-encoding
    7 a7 y, Y* ?6 b) d) n* _
  689. ;input_encoding =6 X. X+ k( W' [
  690. % t% P) _0 X8 }; {
  691. ; PHP output character encoding is set to empty.
      R! G# {; Z0 f) ^7 p6 c
  692. ; If empty, default_charset is used.  ^, b3 ?% s/ b7 ]0 o
  693. ; See also output_buffer.
    4 _# E5 r4 P, n' O# X
  694. ; http://php.net/output-encoding* G: \( w: A8 e2 b% U
  695. ;output_encoding =
    - n/ B" q7 S8 {7 U3 [* S5 D4 O
  696. 6 \# ]; g4 U( ~/ D- [
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    " {1 z( D" j  h
  698. ; to disable this feature and it will be removed in a future version.
    + I4 T& ^1 P: ]3 T7 O) _
  699. ; If post reading is disabled through enable_post_data_reading,
    $ W+ e* }, x2 L. b& _. h% ]
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.9 n1 X4 H7 X# p4 R( L* @
  701. ; http://php.net/always-populate-raw-post-data: |# c, b  Z& W! S
  702. ;always_populate_raw_post_data = -1' y( c% T+ E! B. w) H- o, Y, ?- k

  703. 8 c9 _& d* h: q# o) [
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % J  A' J. p- \5 H# a
  705. ; Paths and Directories ;
    9 I$ F: m5 z+ p/ f( m2 b
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;5 ]8 F6 ]! Z; Z) L% A

  707. 5 ~1 M% b% d6 u2 _" c
  708. ; UNIX: "/path1:/path2", k0 N/ ^: C6 c) C1 N/ L9 Z8 g
  709. ;include_path = ".:/php/includes"- @+ a9 i* ]; W
  710. ;
    3 V5 B( ^" x/ [! W& e1 d
  711. ; Windows: "\path1;\path2"0 _+ g$ N! e8 _
  712. ;include_path = ".;c:\php\includes"8 |# T6 v% d, N' {- k% O
  713. ;
    ( O5 K) h9 c# H2 V
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"5 |! }/ w7 K  C5 ^/ z7 s
  715. ; http://php.net/include-path
    ; u4 z* Q  A" n9 ]/ a1 |
  716. 1 y1 s( B  D4 W3 w2 h- }7 W
  717. ; The root of the PHP pages, used only if nonempty.
    3 y1 Q  y! y7 G% }+ R
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 @# U# n( _; }3 x- T
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ) C# q7 k3 H, E/ H- e# _' u
  720. ; see documentation for security issues.  The alternate is to use the/ p9 X" k6 ~0 {
  721. ; cgi.force_redirect configuration below) h6 D4 e6 ?/ {
  722. ; http://php.net/doc-root0 l* @# Z2 T0 a% f
  723. doc_root =
    4 j8 z8 [- ~1 u4 l4 Z/ T1 x4 ]2 r

  724. # @% p2 ~* A0 n( P# B
  725. ; The directory under which PHP opens the script using /~username used only- P' _+ f. Q' a9 Q- ?' w' ?; w4 i: U8 Z
  726. ; if nonempty.. {6 M( W' f" O4 H9 t9 u  B4 M
  727. ; http://php.net/user-dir! Y/ M3 m6 f9 T4 Q2 |4 e. _
  728. user_dir =; n" A1 f' S( I9 t9 V, w
  729. 8 F6 |! ^6 i, r9 y3 @) _
  730. ; Directory in which the loadable extensions (modules) reside.# X- L6 w2 Q6 F. X4 f
  731. ; http://php.net/extension-dir
    % t; J7 |* D) O) E! t
  732. ; extension_dir = "./"
    6 p& d# p+ F7 i2 p# B4 ]  W
  733. ; On windows:
    $ J$ y3 j5 g3 @* m6 @% E/ j  D
  734. ; extension_dir = "ext"4 r9 S0 J) C* }; W4 {) e/ z
  735. # H+ m9 p6 I( b: w$ p, C
  736. ; Directory where the temporary files should be placed.
    ( D  k9 C; S6 M9 k( o
  737. ; Defaults to the system default (see sys_get_temp_dir)& U0 N2 o! Q0 U6 j% w! ?
  738. ; sys_temp_dir = "/tmp"
    " V- C! j7 d/ h+ R" z4 {( n
  739. ) K. p, H/ A7 @
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ; Z' C2 i# F: D, Y7 h
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    9 @+ c2 W* _/ A. D; p5 y
  742. ; disabled on them.
    5 c/ \) _+ }, ]2 \  k5 q9 c
  743. ; http://php.net/enable-dl
    / f# f$ \6 q6 }
  744. enable_dl = Off7 u; }+ {8 f) r# n3 W  I% g

  745. / V0 N  m% y4 E; C+ Y: {# C
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    7 K1 [# A+ B& S" N* B
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ! W! X* g# O" i1 @6 S- M- \/ ?
  748. ; turn it off here AT YOUR OWN RISK
    6 g  o; T- o, t+ F' X# l- k
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**: e  b  Q. y" J  }/ s  \- P
  750. ; http://php.net/cgi.force-redirect5 y: A5 ^" [8 P. i" B. C
  751. ;cgi.force_redirect = 1
    + n% G/ l4 u6 x2 [+ _$ \4 L
  752. ; G$ j9 _5 {" Y8 U
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with* T- K! ?. R2 u) ^! U
  754. ; every request. PHP's default behavior is to disable this feature.3 a: s/ s$ E( n$ ~' u
  755. ;cgi.nph = 1
    8 t2 g' s* c4 M4 C/ B/ ^

  756. ' X6 g+ \7 f+ Q8 h
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape* p( Z7 n7 l, j% m% V
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP8 t# I9 M9 m# Q- i' U0 z2 _5 `" w
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY0 }' s  }* [, l
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.2 l7 l4 I, E- W0 p
  761. ; http://php.net/cgi.redirect-status-env
    1 w% C- }2 J% X" [; D- t0 L6 g
  762. ;cgi.redirect_status_env =, D! {. l5 u5 k& w% m

  763. : e" r' y! J' G4 @
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's) h+ T4 D$ T. s: w2 O
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    3 \5 H3 o" v3 A$ Q9 V2 W- W
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting. H2 L% P! {! i6 t- Z
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    " {5 _6 b, B) p- [" k
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    $ x$ g0 T+ M/ ?( K+ f
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) l% P6 y6 L. d* n7 z
  770. ; http://php.net/cgi.fix-pathinfo
    % j9 Q, u/ J8 V& O( z
  771. cgi.fix_pathinfo=1
    4 X. g0 b, T0 O5 x! j
  772. . Y, q5 w7 j4 U6 l4 X. f
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside0 J" S! o# B; t- F3 j# {9 W% f, b
  774. ; of the web tree and people will not be able to circumvent .htaccess security.  D" \0 H# F- l. r# r  ~
  775. ; http://php.net/cgi.dicard-path+ v* k1 {$ n2 N, G
  776. ;cgi.discard_path=1
    ( L9 [& O6 l) G$ F! v% c

  777. - ~" i& F. @. t0 l9 `* r
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate; ~( R5 _) S- n1 u) n
  779. ; security tokens of the calling client.  This allows IIS to define the
    " D8 x. F6 B# w+ b6 K( [) [
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    . K- A% Q' x% w5 f0 F+ J' h
  781. ; does not currently support this feature (03/17/2002)0 [' I! I  H1 ?6 [% V3 l
  782. ; Set to 1 if running under IIS.  Default is zero.# |3 p( \, C7 @: w1 q3 w8 w
  783. ; http://php.net/fastcgi.impersonate
    / F5 {+ ~( A* m% R3 X
  784. ;fastcgi.impersonate = 11 v( {  g* r9 W4 h

  785. 1 z: _+ C: E# I6 b2 J; \# {
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ) U! Q+ [5 x4 E+ v
  787. ; this feature.
    $ V' E: }9 i3 \6 U- G  c! g
  788. ;fastcgi.logging = 03 j8 p- E. m$ l# a+ M

  789. ) m: L- ?9 _$ X% [
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to0 U! s# w1 C8 t2 Z6 V' W
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . J9 B2 w! ]  z2 e% J
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ) A! L/ M  n) [$ J
  793. ; RFC2616 compliant header., a4 L% B; i/ `( W4 D( K, x1 a
  794. ; Default is zero.% Q: q; V! ]9 I5 D# t/ A
  795. ; http://php.net/cgi.rfc2616-headers. M* e5 V8 n- u- d) @3 M$ k+ \& w
  796. ;cgi.rfc2616_headers = 0  D0 r% b, n, j" \7 ?3 V' |; ]

  797. & J3 M+ @0 j! r/ K7 z& {
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!/ F  @) P- G2 w3 g
  799. ; (shebang) at the top of the running script. This line might be needed if the
    " |- I* \% a  Q& t5 i$ ~+ ?
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI& Q3 y1 t7 N5 c1 j* Y6 ^& G
  801. ; mode skips this line and ignores its content if this directive is turned on.
    + G# u7 M6 c/ r: b; Z3 E" `
  802. ; http://php.net/cgi.check-shebang-line$ x$ j/ J" t/ R7 T, w1 W
  803. ;cgi.check_shebang_line=1
    , J. b! G2 t: [2 c5 N$ |9 L2 @

  804. ) `4 {$ v0 J( V; S! P
  805. ;;;;;;;;;;;;;;;;
    " c. Y: l5 n" {
  806. ; File Uploads ;
    1 K: |  e" u$ }/ ^
  807. ;;;;;;;;;;;;;;;;
    8 E4 P3 l  L  o8 E
  808. ! c) F) j9 z$ q) t4 w9 C3 N
  809. ; Whether to allow HTTP file uploads., ~* [+ `+ ^3 s
  810. ; http://php.net/file-uploads' m5 ~4 t5 d" G! U& u, F/ R  N
  811. file_uploads = On
    6 A$ _9 g# ~2 O5 a) T$ G1 l6 O6 l2 L
  812. & E5 h5 w$ ?0 q* C, e
  813. ; Temporary directory for HTTP uploaded files (will use system default if not6 w* Y0 z& D1 n% @. @
  814. ; specified).
    / J, f3 F2 p8 b2 K& u- o1 O$ ^
  815. ; http://php.net/upload-tmp-dir. V, d# U( m+ S3 J- s
  816. ;upload_tmp_dir =: l* Z9 t" s3 p# }3 G  N# u

  817. 4 Z* N7 N4 k6 G, k9 G
  818. ; Maximum allowed size for uploaded files.1 \( p# M$ ^* ~
  819. ; http://php.net/upload-max-filesize& q5 {- I" u% T/ U
  820. upload_max_filesize = 50M
    6 c* W+ @( O1 y
  821. & R% p* m, c$ w" E, O. z
  822. ; Maximum number of files that can be uploaded via a single request
    % d' l! O6 Z7 v3 |3 Q
  823. max_file_uploads = 20* U0 L# i# `) ]) ?+ X4 {* N+ X

  824. 6 T$ e2 M: P* Y/ J) q
  825. ;;;;;;;;;;;;;;;;;;! D  _$ n$ v( \% W7 w8 P. m
  826. ; Fopen wrappers ;0 a2 J7 N! A9 _! f+ S8 ~* X& d; q
  827. ;;;;;;;;;;;;;;;;;;
    " i. o' }4 ?3 g, o* a) n2 J

  828. $ N8 }: E6 h/ c! `1 ^- |( \# C6 |
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    : @* e, K" u3 Q3 f+ z6 ^
  830. ; http://php.net/allow-url-fopen; K9 [6 U: G/ ?
  831. allow_url_fopen = On
    2 u/ c1 E0 P+ j" P" b8 l1 \9 n: L
  832. ) F: \* ~; b5 T) H. l9 D* ?2 J1 x
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    8 P: s* B( q* `- n3 r6 m7 k) U
  834. ; http://php.net/allow-url-include
    % q: v) e8 a7 K+ i' s2 \
  835. allow_url_include = Off. Z  E1 {1 D" k

  836. 9 J; v' B* F+ K; `3 ^
  837. ; Define the anonymous ftp password (your email address). PHP's default setting1 b0 H7 f, H* e/ t* y) E* X9 ^+ h
  838. ; for this is empty.
      G  }/ j5 `- t, O
  839. ; http://php.net/from
    + E8 A( l0 |* [2 V% [" X- D
  840. ;from="john@doe.com"7 ~3 C* ]$ j' M* s
  841. 4 P+ o% L- c% x; G# u
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    5 Z8 Y, }; r" \" t# i, `
  843. ; http://php.net/user-agent
    / H* S7 T! p; Z3 S; @6 J
  844. ;user_agent="PHP"! L+ L: t( R2 z1 e0 D' F& `4 w
  845. * I: O4 [6 ?1 a9 o2 j
  846. ; Default timeout for socket based streams (seconds)
    : O5 S# V! A) w* J
  847. ; http://php.net/default-socket-timeout0 T' c+ D2 ^; B& r
  848. default_socket_timeout = 60  G& K5 ~8 r  r

  849. 9 Z7 F  X) r( q% i  c( U
  850. ; If your scripts have to deal with files from Macintosh systems,
    1 f& I" s- R* w" I
  851. ; or you are running on a Mac and need to deal with files from9 g5 ?% U, L, ?! K. k1 G: N
  852. ; unix or win32 systems, setting this flag will cause PHP to
    2 x) ^4 Z5 |8 `
  853. ; automatically detect the EOL character in those files so that
    & Q" i  S$ u& e) S. y% G
  854. ; fgets() and file() will work regardless of the source of the file.  Z4 l. j/ o" W/ R1 R# E
  855. ; http://php.net/auto-detect-line-endings
    ) c3 ]$ t4 t! X' c! G& R
  856. ;auto_detect_line_endings = Off
      E) E; J. {* m/ U- m
  857. - v- M9 ]3 c/ e5 P" C
  858. ;;;;;;;;;;;;;;;;;;;;;;
    3 I$ A0 N0 v. o$ U/ Q
  859. ; Dynamic Extensions ;5 Q8 ^5 t" d' K$ W* ?( [
  860. ;;;;;;;;;;;;;;;;;;;;;;
    2 ~! Q' X+ M" N- q
  861. 6 R4 i9 G% ]1 r8 N
  862. ; If you wish to have an extension loaded automatically, use the following% C0 _: f& p' ^' r, {0 W' e
  863. ; syntax:1 w0 R- O, O. Q, n0 x9 U
  864. ;
    ) J7 e0 p4 G, ^! H
  865. ;   extension=modulename.extension8 ]  w+ h( n# J. l1 D( s- R
  866. ;
    ; ~- O& Q" L7 U7 h* ~/ g3 y7 S2 |
  867. ; For example, on Windows:
    7 \1 W: ?; |' x8 g: C
  868. ;
    $ M" y" }8 u& r: y; O- q+ H
  869. ;   extension=msql.dll- s/ w+ I( q; x8 q" s  Q% Y
  870. ;; Q; [  J2 m5 z+ m6 h% S
  871. ; ... or under UNIX:- l# ]+ w9 z9 i3 i* I0 X6 {
  872. ;
    , V$ F% C2 n, a+ N: @
  873. ;   extension=msql.so; l. {/ q% F* m+ {  s
  874. ;2 P& V: O5 o9 P
  875. ; ... or with a path:- a! t' O$ ]/ ~5 l3 \4 Y
  876. ;  V" r9 P  I0 y
  877. ;   extension=/path/to/extension/msql.so
    . A6 j  A6 Z2 |9 Y4 ~8 }
  878. ;! b- b, O' n& R! p
  879. ; If you only provide the name of the extension, PHP will look for it in its
    5 ]) ?8 R+ k/ j1 {+ o
  880. ; default extension directory." y  j, |' k, v, Z/ n& X
  881. ;( d! |3 W5 w+ o3 N, `
  882. ; Windows Extensions
    4 \; R, b  T! d; O( ^' A
  883. ; Note that ODBC support is built in, so no dll is needed for it.+ I# E1 K% O: F3 S( k2 t: z
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)  V" n. R% \7 |: H
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    " I7 F- F2 O  I1 P; T1 g# N
  886. ; Be sure to appropriately set the extension_dir directive.
    / y) a+ g( i7 ]' ]! f/ {) t2 ?
  887. ;
    7 T+ w% F; B! I
  888. ;extension=php_bz2.dll
    , S# `3 E0 k; @
  889. ;extension=php_curl.dll
    + V7 C' a- h+ `! ^% M" E
  890. ;extension=php_fileinfo.dll; c+ b4 Z$ Y" m
  891. ;extension=php_gd2.dll( Y3 E9 g* W- y  K7 x" u2 \
  892. ;extension=php_gettext.dll( m$ z5 F4 _+ F8 }1 v
  893. ;extension=php_gmp.dll# j' d( t; q  x$ ]2 u, [
  894. ;extension=php_intl.dll
    . J0 s/ x6 \; W. C, h! |8 @
  895. ;extension=php_imap.dll5 I6 o- i4 ~( [, U2 v
  896. ;extension=php_interbase.dll: n) y# D* \& E; W
  897. ;extension=php_ldap.dll, X$ D+ }( G& |, ]
  898. ;extension=php_mbstring.dll6 ?& }% K9 i) n2 x1 \& q0 p
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it6 \' T9 K; \" n  _
  900. ;extension=php_mysql.dll
    : J; i4 q$ i5 T5 k3 P
  901. ;extension=php_mysqli.dll& b9 V# g8 T; k5 M: Q, c
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client7 Z. g$ f4 e; S) b: Q3 I3 ~
  903. ;extension=php_openssl.dll+ \# t) \4 y8 _5 ^, ]5 {8 [/ K
  904. ;extension=php_pdo_firebird.dll. I+ h  o" t. n4 N: Y+ C0 I
  905. ;extension=php_pdo_mysql.dll
    4 @% Q9 b) D# U( w; N% k! t( |7 `5 @
  906. ;extension=php_pdo_oci.dll
    9 S0 i- H1 u4 c: W/ }- x
  907. ;extension=php_pdo_odbc.dll+ X" b/ S4 g" W& h
  908. ;extension=php_pdo_pgsql.dll
    2 L4 q0 \, O5 U( r
  909. ;extension=php_pdo_sqlite.dll- G0 O( V& r$ w! D# S) e' o
  910. ;extension=php_pgsql.dll
    " x. G+ I# z: \- {
  911. ;extension=php_shmop.dll
    " R- V9 K1 |' q% s  P
  912. ; X+ f$ D1 D# f, A
  913. ; The MIBS data available in the PHP distribution must be installed.
    9 w4 g$ `* \( C0 y: g: B: P2 H
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    / |' V  g( J, D# C, W, I1 \
  915. ;extension=php_snmp.dll
    $ G6 ~  s6 T, {- q. g
  916. & u( t; N. n, g& N) `7 E- N# H3 E  _
  917. ;extension=php_soap.dll
    3 e. B  ^* q6 ^2 N
  918. ;extension=php_sockets.dll
    5 Q' F7 H/ w) \5 g% ^
  919. ;extension=php_sqlite3.dll- u- ?+ p$ I+ ~1 e' h' I- \" E, T3 Y
  920. ;extension=php_sybase_ct.dll/ s) W) F, v# a. n
  921. ;extension=php_tidy.dll! s+ h' g0 }2 m% O5 Y' j
  922. ;extension=php_xmlrpc.dll5 T- f. \7 r6 U
  923. ;extension=php_xsl.dll
    % r& O6 F" C: M

  924. & f% o) e2 U. m1 u& m0 m0 Z
  925. ;;;;;;;;;;;;;;;;;;;
    ) W, D$ |; F0 ~& ~
  926. ; Module Settings ;
    6 M* [# d, ]- w, l9 j
  927. ;;;;;;;;;;;;;;;;;;;
    5 f* d" N7 U$ z; X9 T/ _  m- Y
  928. 7 p7 x% j3 V5 c3 R6 W% |
  929. [CLI Server]
    1 k3 j" o% h0 C( I4 f
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    : q! ], d, ]$ x
  931. cli_server.color = On
    . s6 H9 t' E2 b: Z- E

  932. : g3 m8 T7 W( U& a
  933. [Date]
    1 o; H1 b/ N; c3 w) f  u: O, n
  934. ; Defines the default timezone used by the date functions
    ! R# W+ ?( f" w$ V& B( a6 J  ^0 W7 b
  935. ; http://php.net/date.timezone3 t; L3 M. {! D# H
  936. date.timezone = PRC
    $ b: q! J# F' @. [0 P

  937. 9 w6 P8 N( J4 ^1 ?7 V, `0 O3 [
  938. ; http://php.net/date.default-latitude. y  f' K, p. O# z! Z) P( X' R
  939. ;date.default_latitude = 31.7667
    " W  w% t8 l  [+ U9 Q/ a* q$ I
  940. + J) {' P7 l, M! p3 T9 a0 t4 w( j; T; x/ X* m
  941. ; http://php.net/date.default-longitude* n! ?1 _& Z% [7 `
  942. ;date.default_longitude = 35.2333
    & ~6 E3 q5 |* N2 j# ?0 y9 L

  943. + F9 G; R( |+ X4 L4 ~7 J
  944. ; http://php.net/date.sunrise-zenith9 J2 ?. p9 y/ [- w  N) {" s6 J
  945. ;date.sunrise_zenith = 90.5833333 ~4 ^/ J# M+ i* b) y2 L6 Q
  946. 2 l1 [5 d, t6 E" w- C2 ^: X
  947. ; http://php.net/date.sunset-zenith
    + _. `+ o* _: }
  948. ;date.sunset_zenith = 90.583333' i, v4 G; ^. P" n! [0 Q" A* h
  949. ( R' a% k# h2 }! k
  950. [filter]
    0 t0 f. _  u3 D: ], N7 h
  951. ; http://php.net/filter.default
    , \/ l1 s8 ~5 }/ {
  952. ;filter.default = unsafe_raw
    & z% o9 N4 I! z

  953. + S: \# v' [) F/ D
  954. ; http://php.net/filter.default-flags
    - V% T9 T3 c( y: V# `
  955. ;filter.default_flags =
    4 j+ k8 C' ?( Z5 B
  956. 8 ^7 V( q* c( [8 J# y0 ?
  957. [iconv]: k& @& `% y% B+ ^
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ q4 }  \9 z4 U( v
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.; ^4 o% ?7 E, X" i. l
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 V2 J" q8 i  p8 {
  961. ;iconv.input_encoding =
    ( ~7 o. R% m% t5 J+ k
  962. 6 V4 y, t: B0 X2 z* c  I  Y
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : i+ z4 s- x6 E5 Y! M: f' a
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 n: I  j9 ?* F8 s( B* m
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 h1 v7 E* p; s  h+ y' |- k: a
  966. ;iconv.internal_encoding =$ A' U+ R; e1 |) s% P
  967. 1 B/ E: i# J* R0 t0 G
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.# X$ j' w. Q3 X: r; U
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.# n: _; C3 d( ~; b, f8 U. Q4 S; H
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ' ]1 B$ h+ f: f  S3 K6 ?& S
  971. ; To use an output encoding conversion, iconv's output handler must be set
    4 T& ]- W- Y: }" R0 s( u# K( J
  972. ; otherwise output encoding conversion cannot be performed.. r5 F+ u7 q2 z
  973. ;iconv.output_encoding =, z) d- g9 G9 \7 B$ ]$ p

  974. - T1 U$ @6 k- A! L0 l/ ], L
  975. [intl]7 `. L! w% r5 m
  976. ;intl.default_locale =
    3 L+ o6 X+ F6 M- r$ \
  977. ; This directive allows you to produce PHP errors when some error; o3 ^5 f) Q7 Q+ U5 V! r
  978. ; happens within intl functions. The value is the level of the error produced.6 n1 k$ ^. z4 X8 R, S
  979. ; Default is 0, which does not produce any errors.( @: Q( S( Y' U  h, k
  980. ;intl.error_level = E_WARNING
    # T2 o: }3 n: d/ N' l7 l' A
  981. ;intl.use_exceptions = 0# ]) Q; v6 t) A) s3 `. n

  982. / \  w. T7 U8 \" k7 o
  983. [sqlite3]7 Q+ w# g" J1 I) d# T# y7 m+ H
  984. ;sqlite3.extension_dir =/ V- C  K) N0 c3 |1 [3 y

  985. - G* Q/ Q) F7 `3 Z6 d6 I9 R
  986. [Pcre]
    / K( b" [9 \# m+ o5 C% W
  987. ;PCRE library backtracking limit.
      \% V) M' _& Q! J' V) H. B
  988. ; http://php.net/pcre.backtrack-limit6 |3 Y, K7 @9 W! R# K1 g
  989. ;pcre.backtrack_limit=100000
    $ V' G/ k. R: }2 C* i! T; `% b: C
  990. , ?& W, [% j0 `4 M2 G" H
  991. ;PCRE library recursion limit.
    7 Q- B" {3 e3 B! n" O: Q7 T; S4 H
  992. ;Please note that if you set this value to a high number you may consume all/ k, N3 q2 j! R2 ?
  993. ;the available process stack and eventually crash PHP (due to reaching the
    & w: r+ B. ^$ [. `" N! v
  994. ;stack size limit imposed by the Operating System).- m& O/ s, e9 [5 K$ d
  995. ; http://php.net/pcre.recursion-limit& l  T2 C  ?/ {: J& ^
  996. ;pcre.recursion_limit=100000
    0 Y* V. A, T( J3 M7 j) d0 ?; D0 w

  997. 5 g% y5 A- e  C, T
  998. [Pdo]' Q- v  y4 r9 N/ R, ~) _; t
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"! }9 W7 G; I. t. @2 Q. ]$ z6 F* T
  1000. ; http://php.net/pdo-odbc.connection-pooling% ]7 B  g& t' L5 t8 F
  1001. ;pdo_odbc.connection_pooling=strict
    3 a* q# l: v9 y* G) x

  1002. ) ^/ l' y9 e1 I7 v5 Z7 e9 ]
  1003. ;pdo_odbc.db2_instance_name
    4 x5 l! U. [% h

  1004. 0 k4 B3 V2 l" a/ {- ?4 w( B$ |4 Z. X
  1005. [Pdo_mysql]4 s, I  m: ^. w& X* D
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache) \! Q# c! j( f% O  ~
  1007. ; http://php.net/pdo_mysql.cache_size
    . C) E% h, I- t/ K  k! a
  1008. pdo_mysql.cache_size = 2000
    5 w& Y$ P# U# h# E
  1009. 8 v! _: L( u. W3 a* M
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 s* c) ?. [  U) L7 J$ v4 x" }
  1011. ; MySQL defaults.- x* {' j8 o# @- o; J- d  j
  1012. ; http://php.net/pdo_mysql.default-socket1 p, W; K0 G: ~4 \2 m5 ?" Z+ R
  1013. pdo_mysql.default_socket=; p; `; B6 z$ k8 F! R% Z5 a
  1014. 9 s( x# n1 G5 [! M( L
  1015. [Phar]3 v3 p% H$ D+ w7 \- M. L7 M8 p
  1016. ; http://php.net/phar.readonly7 V6 r& p- E# H; {0 B# s7 g
  1017. ;phar.readonly = On
    0 \' d0 ]* @. q7 b0 ~

  1018. , D  X$ {5 y: `8 G7 z
  1019. ; http://php.net/phar.require-hash' e5 C2 H" o5 p/ u" [
  1020. ;phar.require_hash = On  s. j3 T( o* Q% a

  1021. ( d' h2 g$ }) ~+ t
  1022. ;phar.cache_list =
    , q% q- p5 l0 s9 f9 d$ F  O9 {

  1023. 7 v' L4 \, B+ @
  1024. [mail function]% O; \0 Y- I+ m4 g( v/ D7 e
  1025. ; For Win32 only.
    $ P5 w  ~! H# N1 H8 X  c8 U. K
  1026. ; http://php.net/smtp
      j' `3 G9 z( e# J' v+ q4 H
  1027. SMTP = localhost/ a! m0 O' t; A& M2 b. p+ i
  1028. ; http://php.net/smtp-port
    ' ~1 N2 U9 K; P$ ]4 W: q
  1029. smtp_port = 25
    6 T% g! H1 n: W5 Q

  1030. ' w5 ~. b' n, y% g( W9 P
  1031. ; For Win32 only.! p; i3 A% c, B/ r8 k
  1032. ; http://php.net/sendmail-from
    4 H0 R8 [/ O; c; i
  1033. ;sendmail_from = me@example.com4 @; _- K0 q1 z+ V* J3 j9 G) [- ]
  1034. $ i2 X4 O$ q' S$ R  z1 _; Y
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ( m( o; o+ l  {  u1 \
  1036. ; http://php.net/sendmail-path( C1 ^$ B( E; X2 h" W7 d: G
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    5 G0 I; x0 Q# z
  1038. $ K7 m' b% Y; ~. D. k# S, @$ |: i
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
      v0 N( l$ `' F/ d- w5 q1 C
  1040. ; to the sendmail binary. These parameters will always replace the value of
    # f3 i; M; X! M
  1041. ; the 5th parameter to mail().
    - y9 x1 W$ H9 z, ?/ c: M6 V
  1042. ;mail.force_extra_parameters =
    8 P) I+ m1 v' f' }
  1043. ) t7 A6 _& I/ b
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename  W; e! j% _  I: A' Y- t8 a/ y3 }
  1045. mail.add_x_header = On
      a; E9 I* t1 i  s* u

  1046. : O* U" U0 P& m. ^5 a( o2 W- _+ v/ P
  1047. ; The path to a log file that will log all mail() calls. Log entries include, g% }7 F+ M. X" j2 _
  1048. ; the full path of the script, line number, To address and headers.5 T2 i, q" D1 m: c
  1049. ;mail.log =
    $ H) m4 l2 `: e/ ]. u
  1050. ; Log mail to syslog (Event Log on Windows).
    ! m+ I' {' n+ T0 A3 }4 f  w( q
  1051. ;mail.log = syslog( W1 e2 n6 y! f

  1052. ( G$ W1 H( j+ R3 ]' [
  1053. [SQL]
    ! l2 V, @/ w2 D4 B
  1054. ; http://php.net/sql.safe-mode2 h" C6 c) g; {1 Z: j; X+ {7 y
  1055. sql.safe_mode = Off
    9 `4 |, n* R/ ~. o6 V+ {( ]$ b
  1056. 4 e& S& x" p- S2 X
  1057. [ODBC]
      U7 J! t3 P- S, {2 f) W8 ^
  1058. ; http://php.net/odbc.default-db3 x2 t: p$ \) t. K
  1059. ;odbc.default_db    =  Not yet implemented
    9 p2 U/ k% Y' Q! U

  1060. 0 w% @& [' p" `# _5 m. }
  1061. ; http://php.net/odbc.default-user8 n  {2 o/ P! p
  1062. ;odbc.default_user  =  Not yet implemented
    ! U0 U1 F+ y7 t: E
  1063. ) Q' U5 _: e8 m$ c3 Y! m9 l
  1064. ; http://php.net/odbc.default-pw: J& q: U" P* a0 F7 d; K8 x
  1065. ;odbc.default_pw    =  Not yet implemented
      v" `6 ?: g! A3 E/ o
  1066. 7 F, z- `9 r; s2 k, C
  1067. ; Controls the ODBC cursor model." O# N- \3 O% }+ b# _
  1068. ; Default: SQL_CURSOR_STATIC (default).
    2 S( U5 d% {( g! n
  1069. ;odbc.default_cursortype1 l) r( I5 Q$ e. B
  1070. : @0 n0 v" l8 P6 ^
  1071. ; Allow or prevent persistent links.9 o2 e' U. l2 n( }
  1072. ; http://php.net/odbc.allow-persistent6 Y- _; E8 n4 y
  1073. odbc.allow_persistent = On  z* k3 F3 ?, h$ Y" F) Q  _

  1074. / S( B5 v+ ^0 ~9 N
  1075. ; Check that a connection is still valid before reuse.
    + p3 R6 @5 f& z$ N& ]9 A( W
  1076. ; http://php.net/odbc.check-persistent
    / }4 F" J8 }. z& k# W% O
  1077. odbc.check_persistent = On
    + l; l  t4 Q( E* T
  1078. 3 e4 o6 p! z$ |+ i/ C+ }
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ' @& `, l% C( b
  1080. ; http://php.net/odbc.max-persistent, w& `) U' q0 }9 E/ t) b
  1081. odbc.max_persistent = -18 q  H0 m& }2 ~- L
  1082. , V1 a1 h- {7 ^$ K, ^* L7 Z
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 D* Y5 v1 [1 O: ^& y0 D
  1084. ; http://php.net/odbc.max-links( E/ K4 F5 y! Z: x
  1085. odbc.max_links = -1; Q9 V4 n- H5 g! _; o1 P
  1086. % L6 B4 D) y6 |
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means# [6 W9 a; \; O# l6 C$ a( ^
  1088. ; passthru.9 g+ t' W! E3 H2 f: a
  1089. ; http://php.net/odbc.defaultlrl
    2 B6 ^3 \( b' O2 L4 N/ x  h6 w* Q/ S
  1090. odbc.defaultlrl = 4096) J' v! ~0 v/ }* l; _4 ^1 W  E
  1091. : G" Y7 ?. t) O/ G. ~
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' n# H4 O" I' {" e& f+ N
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    + i9 Y& X; Q7 J- A4 B- y* @
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    7 J1 b: s' F: T( _% d8 K4 @
  1095. ; http://php.net/odbc.defaultbinmode
    3 B  K% f* `5 K6 Q' Z( ~( j% \
  1096. odbc.defaultbinmode = 1
    % `9 q. P1 I: I& O- L7 \& J

  1097. / v2 J$ H, ^7 X' A$ b2 c6 F7 @6 [
  1098. ;birdstep.max_links = -1& \$ @/ v5 {% G) f+ K7 L
  1099. 6 ]5 ~. ]8 c% [' b, A8 i- q
  1100. [Interbase]
    , P  g  z# L& v" }6 _
  1101. ; Allow or prevent persistent links.
    + {9 g  q$ o3 h* s2 q! [9 E/ p1 k
  1102. ibase.allow_persistent = 1
    " J8 k" f1 B! f) [( |% u
  1103. * f$ {8 ^6 S( x: l: \1 k' U  b: l
  1104. ; Maximum number of persistent links.  -1 means no limit.0 |1 B0 @4 |* `+ C
  1105. ibase.max_persistent = -1
    ! n- j4 p& f; R: W9 s

  1106. ' g5 C- \1 e  s6 |2 t  R% R
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / n7 g; E. r; [. g8 V& q% q
  1108. ibase.max_links = -1+ T9 ?  L. x4 D; G3 f9 z
  1109. % I3 j8 K& A5 A$ b, o. G
  1110. ; Default database name for ibase_connect().
    , C) d  s5 l9 I9 m
  1111. ;ibase.default_db =; Y8 B, o" l% K  b  t2 B6 _

  1112. ; ?3 d8 a$ R9 i5 G0 P, [
  1113. ; Default username for ibase_connect().
    / w0 h4 _' r) R; o
  1114. ;ibase.default_user =
    : b2 F% d# d' q/ I5 ~  T9 v# D

  1115. 6 b0 I2 r8 T2 y5 g0 z! ~0 M5 M
  1116. ; Default password for ibase_connect().% v  M! J; R* @$ u: F6 }
  1117. ;ibase.default_password =; a; R2 L3 R* c0 N8 }) |
  1118. ; b2 n; y% c7 k- H
  1119. ; Default charset for ibase_connect()." h, f) b& \% N1 `7 {
  1120. ;ibase.default_charset =
    , d) j! L8 k. v, A" E
  1121. ) G5 z! M$ B8 h6 C7 V- e
  1122. ; Default timestamp format.
    5 @  _  x0 u- v5 u1 P2 x9 f3 l. n
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    3 J5 P! M! l0 }: k

  1124. - k$ D, I2 z1 r, i# A. ]
  1125. ; Default date format.
    ' @' ~* @9 q. o" |( i; r9 y5 ]: ~
  1126. ibase.dateformat = "%Y-%m-%d"
    2 {( F( \9 N+ L$ P

  1127. & A% q- ^: r( X) E! J% C# z0 ]* S7 d
  1128. ; Default time format.
    7 G/ O9 @" {2 O; ^
  1129. ibase.timeformat = "%H:%M:%S"
    : n5 P; ]7 v3 w. m  i# H# G

  1130. 7 n3 _- w, y: ^: |) M* l" R& ?+ _/ g
  1131. [MySQL]: f' Z5 V$ q6 R. Z8 u* i
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - G3 Y) C( i+ E. R
  1133. ; http://php.net/mysql.allow_local_infile
    6 |' M  J. t: E7 u
  1134. mysql.allow_local_infile = On
    ; R+ N3 j4 `/ t5 y. B" D
  1135. 2 ^$ k- |' b$ q+ T- {6 [" f- v8 x  R
  1136. ; Allow or prevent persistent links.0 D+ F* |! x; a( i" C6 L
  1137. ; http://php.net/mysql.allow-persistent/ E/ I: d9 N" ^5 F
  1138. mysql.allow_persistent = On
    1 ?/ _0 ?0 Q) ?% ]
  1139. 4 X% j) t# O# \- ^3 \5 B( T
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / S2 _$ e1 I5 D
  1141. ; http://php.net/mysql.cache_size, D4 ~( c2 @7 ^  E. C& W( c
  1142. mysql.cache_size = 2000' O5 V0 P& e; [. V5 h
  1143. ) w  t' M& B% ?8 q# K
  1144. ; Maximum number of persistent links.  -1 means no limit.% [; R  X. K2 X, {3 Q& x
  1145. ; http://php.net/mysql.max-persistent
    ( ^" c" X' S: ^
  1146. mysql.max_persistent = -1  m. G: g$ k& L. q1 g/ Y# ]/ z

  1147. 1 F: _0 S8 F" B' `9 M. I* E
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    + Z/ R+ w1 a/ F* t. h
  1149. ; http://php.net/mysql.max-links0 }6 n( e! P4 L! o- p1 q
  1150. mysql.max_links = -1: f- g& q5 \8 {7 F
  1151. 1 k4 G  a, n$ S6 x2 R
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use; z: I2 g& G# i3 t  B1 C
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the! X- t! y% w" ]  Y4 q( d& V: w
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    " m8 R' S% a* O! z( _- N
  1155. ; at MYSQL_PORT.
    , C4 L) ]4 C. `+ Z$ R8 a; s0 I
  1156. ; http://php.net/mysql.default-port
    / H( Z% l: n: ], V) c# ~! y
  1157. mysql.default_port =
    4 I% Y# P& Z6 G
  1158. 6 A1 g7 u6 m. C
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + ~1 y1 s2 o" [) _9 S
  1160. ; MySQL defaults.# i" k0 v, @( z) u- o8 h
  1161. ; http://php.net/mysql.default-socket5 S6 i: \2 `5 Q4 h4 m3 C
  1162. mysql.default_socket =2 `# y7 A1 |+ k' i
  1163. 4 F1 ?  p8 Y$ A3 A
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; Y% `0 T: @; o( m2 c9 W3 [
  1165. ; http://php.net/mysql.default-host
    , |4 Y1 _- r+ {& D8 d. ~
  1166. mysql.default_host =* w# y* S8 `- v, H
  1167. % ]8 b. S) I! X) D4 o2 P
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    5 `; m( j- R: z$ V
  1169. ; http://php.net/mysql.default-user
    2 V* ?4 ]% ?. i. H, W
  1170. mysql.default_user =! \& W, |) F$ j8 w. k2 b  I3 t

  1171. 0 b$ h: r- E6 g& v- H
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    2 q: F& I* h/ l6 D  v7 {. C
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    / d8 U2 x1 n+ F5 l5 g( I
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    % k1 P+ @0 y! M0 T
  1175. ; and reveal this password!  And of course, any users with read access to this
    ) {+ q+ R5 j" J$ Y# I: E* E" a5 h
  1176. ; file will be able to reveal the password as well.( [5 W* O# i5 \, Y" b# ]8 y* b. r7 o
  1177. ; http://php.net/mysql.default-password
    3 V1 b+ H7 O8 z$ R  \
  1178. mysql.default_password =
    % Q( o7 ?. f2 e1 T8 q

  1179. ) H: w5 X1 n1 `  ?, g) Y; n
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit% H/ Q! J5 L' Y# e* Q! B
  1181. ; http://php.net/mysql.connect-timeout
    $ C6 S& Q! ?" Q  R
  1182. mysql.connect_timeout = 607 |- ~% p3 d( T) X  I
  1183. + D0 W2 a. b: ?6 Q; p" k
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    # r5 f' Y6 r* c' F" d1 M
  1185. ; SQL-Errors will be displayed.( z0 A9 N4 f. s9 Q" C/ c( a! i
  1186. ; http://php.net/mysql.trace-mode
    4 H$ s9 ?4 r: q; x; P, K& W6 Z0 ~
  1187. mysql.trace_mode = Off5 K1 L& n; g1 X3 N  y6 v, X$ i( [
  1188. , C8 t+ F  w! ]% h) ~! W# j
  1189. [MySQLi]
    $ @  d7 m) I4 W. B, M% k

  1190. 7 X% l* K( V) T* t9 e* Y1 ^/ c0 F. S
  1191. ; Maximum number of persistent links.  -1 means no limit./ }; S' L$ [2 l4 z9 u* K4 c
  1192. ; http://php.net/mysqli.max-persistent9 L1 g- H1 k6 r5 |( f7 q
  1193. mysqli.max_persistent = -11 \1 b  `/ ]( M( V( Y' ~  H
  1194. % |+ e1 H) u* `3 V) _3 l. \
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 K; h! K% F, R1 E5 u
  1196. ; http://php.net/mysqli.allow_local_infile
    . `4 W) G, r& z- u+ e
  1197. ;mysqli.allow_local_infile = On; {% A2 p$ t( q% J, L6 W- [

  1198. : m& K  G+ Q  o
  1199. ; Allow or prevent persistent links.. l% R! h, K9 \1 C0 o6 g5 \* }7 j
  1200. ; http://php.net/mysqli.allow-persistent
    " t; I( E& `+ i* K2 o1 S: m" g
  1201. mysqli.allow_persistent = On
    ' `2 x5 i7 |9 {7 B- r# v

  1202. 2 I7 P+ |: Q: S4 N( I  ^; V
  1203. ; Maximum number of links.  -1 means no limit., o0 Z% o" l4 N. ?
  1204. ; http://php.net/mysqli.max-links+ i' e5 o2 z  b8 V
  1205. mysqli.max_links = -1
    2 g, Z$ j, C+ ?. Y! i

  1206.   C) M0 _7 i6 Q7 I
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache& L4 |  e% Q9 k0 N% Y& z6 h: n/ m
  1208. ; http://php.net/mysqli.cache_size
    " h( P+ C0 P5 [9 P6 W
  1209. mysqli.cache_size = 2000! [% r; q2 [2 |+ w% T
  1210. % }8 x$ q4 k4 t3 z
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use' }, h! ]) X  N0 z
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ) n& v' J" a; [; s
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ! ?- n% P+ M1 v+ Q
  1214. ; at MYSQL_PORT.- T5 V1 i" v- p% q2 f# g# ?
  1215. ; http://php.net/mysqli.default-port* E5 j: Z$ i2 j) k( h6 F
  1216. mysqli.default_port = 3306% ~' f! H6 l- p* x
  1217. % g. @' j9 L2 r& o& Y
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in* c2 Y' l% d( ^% F: e, X3 V
  1219. ; MySQL defaults.! ~0 {; C% I) b
  1220. ; http://php.net/mysqli.default-socket
    5 k8 K, r$ {+ i! ?9 f
  1221. mysqli.default_socket =0 A& y  A- `( \3 d+ }
  1222. , ~" V5 M9 x9 M, {& k
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).2 \2 o; [& q3 k; [& w- K
  1224. ; http://php.net/mysqli.default-host
    ; s' t0 o' d- _
  1225. mysqli.default_host =& Q, L, F/ [0 f; w# B9 P0 c5 V% q+ k
  1226. $ B: |( ]" D3 e+ v5 s5 l
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    7 Z  [. E& I- B! J; \* r
  1228. ; http://php.net/mysqli.default-user7 b7 {+ w; E: m- j3 f* G. f6 B
  1229. mysqli.default_user =3 t% u0 N( `" L4 V+ l, V
  1230. , s- z6 L0 x: [) h' Y
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ) L4 j6 o5 r5 \5 C! R: z
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    , g0 B9 S: s$ t: X) U
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")2 E2 ?8 A: D1 I$ M
  1234. ; and reveal this password!  And of course, any users with read access to this% ?; c5 j5 ^- I! w, W
  1235. ; file will be able to reveal the password as well.4 g/ W. m. R2 a3 e& ^
  1236. ; http://php.net/mysqli.default-pw: e1 v7 x4 V8 A# t$ k5 ]9 X
  1237. mysqli.default_pw =- P8 ]6 I  x+ |  k

  1238. 0 }' \$ {" x5 a6 M9 x
  1239. ; Allow or prevent reconnect
    / W- _4 @5 y: h! Q% s, T5 b" n* Q2 e* a
  1240. mysqli.reconnect = Off) |$ p" x0 Y  w; z, _& M6 Z) ]) B

  1241. - I& _! Q1 `& z9 I: w! F6 K2 G
  1242. [mysqlnd]1 V. S, Z& u0 B! D4 N0 R
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    + F4 \/ K' N6 M  Z; y3 b' c( {
  1244. ; used to tune and monitor MySQL operations.4 x0 O) S3 _* M# _
  1245. ; http://php.net/mysqlnd.collect_statistics+ |  `7 W# z. [
  1246. mysqlnd.collect_statistics = On
    6 R& y; P- d" x) n- n
  1247. # J7 {: x$ ]9 b7 u5 Q* ?. e
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 K, L( V) a  K1 Z7 ]
  1249. ; used to tune and monitor MySQL operations./ p0 Z' r* B2 U% c  B$ E
  1250. ; http://php.net/mysqlnd.collect_memory_statistics" X9 P6 y$ E! g* G/ W! S' b4 }" M" t
  1251. mysqlnd.collect_memory_statistics = Off4 M. c5 W' ^9 f
  1252. 4 t% ]& K  i9 Y& [9 V9 R2 u
  1253. ; Records communication from all extensions using mysqlnd to the specified log6 t) d9 u( r" U. V+ z! w: |
  1254. ; file.$ U" K3 _7 p2 Z% V3 {
  1255. ; http://php.net/mysqlnd.debug2 {" G3 r8 g# o' e
  1256. ;mysqlnd.debug =
    " B& w2 Y7 X2 }2 |, W
  1257. ' X4 V% a9 w4 _
  1258. ; Defines which queries will be logged.& @& l' O) H# f1 N" f/ |
  1259. ; http://php.net/mysqlnd.log_mask
    & B7 ]3 C$ x% P% x
  1260. ;mysqlnd.log_mask = 0$ w6 s6 g0 a) ?+ E5 r

  1261. 2 I* Q: x7 z/ K4 b8 K
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    $ e2 o7 }* l8 w4 H# I! O! ~
  1263. ; http://php.net/mysqlnd.mempool_default_size5 S" j& G( C; W" I& L
  1264. ;mysqlnd.mempool_default_size = 16000' O& D# f. r2 i, J( n: v- M
  1265. 4 c: }! j: ^2 H* S
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.+ [( p: v9 f: P4 W- d0 D+ u$ Q
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    - g% b1 {6 t# B. X
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    . Y5 w9 Y. V& b( y6 @6 }$ i
  1269. / Q  h( d2 u3 y, F- n
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in' W8 I* T) p/ u5 S; ]. {
  1271. ; bytes.
    : ?, u2 v5 K; P' ^& s
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ! [2 v9 n2 n1 |" ]6 L% d$ [- N
  1273. ;mysqlnd.net_read_buffer_size = 32768
    * i+ f/ k% i6 T: f" Y

  1274. : d0 d9 o( G& ^' ~. u8 h
  1275. ; Timeout for network requests in seconds.
    % o2 ^: M6 z1 n) Y1 c0 D+ K; x# b
  1276. ; http://php.net/mysqlnd.net_read_timeout8 r/ x; h3 z3 c
  1277. ;mysqlnd.net_read_timeout = 31536000; r3 p0 d$ A$ v3 t, K: d& v" J; V; n

  1278. ' Z5 v: o! Y: w7 H7 q, B: i8 ~
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    2 X; d( L" X6 z/ \4 W; P
  1280. ; key.9 C( F9 G! ~' P# @9 _
  1281. ; http://php.net/mysqlnd.sha256_server_public_key: z' E8 L* J! U9 ~; V! r4 Z/ g
  1282. ;mysqlnd.sha256_server_public_key =
    & S6 j: s, M- ?5 [! M0 @* G
  1283. 7 Q9 ?$ Q: V7 b# D& F) P
  1284. [OCI8]
    5 i/ |/ ~, m6 D7 T( c
  1285. " Y) }& S+ D/ s/ j
  1286. ; Connection: Enables privileged connections using external5 z0 q8 T5 t4 W: {, B& a9 s
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    $ U! J% ^* W2 \" o' C, B
  1288. ; http://php.net/oci8.privileged-connect
    " K0 _& D) d* L4 m+ c6 T( r
  1289. ;oci8.privileged_connect = Off
    , L. `6 N, \+ D3 z- X& ]2 B

  1290. 5 c' {) R+ f9 `* z9 r- Q
  1291. ; Connection: The maximum number of persistent OCI8 connections per3 \; L& j+ H& [  Q1 p$ _
  1292. ; process. Using -1 means no limit.
    9 h4 h5 G' |7 A9 o) o
  1293. ; http://php.net/oci8.max-persistent
    ( z3 k9 }8 X2 y0 l& b) z" @
  1294. ;oci8.max_persistent = -11 S1 q; ]; R3 |, e6 q* W

  1295. 5 V, L" ?0 h2 y- d" Z! z+ ?: Y
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ( g' g1 {; n0 B
  1297. ; maintain an idle persistent connection. Using -1 means idle
    6 y/ Y, U5 s0 A3 x: ~/ i5 P/ t# y3 A
  1298. ; persistent connections will be maintained forever.
    # C9 @: m. n2 B' V
  1299. ; http://php.net/oci8.persistent-timeout
    0 L9 j8 Q7 u& s! x
  1300. ;oci8.persistent_timeout = -1! v3 `" j3 e/ G2 @

  1301. , U* ^# Q2 l- B: }
  1302. ; Connection: The number of seconds that must pass before issuing a
    & y3 f8 H" Z8 H% F6 N9 d
  1303. ; ping during oci_pconnect() to check the connection validity. When
    8 h: K! k1 Z% A8 x& n
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables" |! D, D; J! P  \! Z7 |
  1305. ; pings completely.
    ( h! e$ T* w4 K) g
  1306. ; http://php.net/oci8.ping-interval
    . ]: g# ?. M$ `! \, `, S: L
  1307. ;oci8.ping_interval = 60; j: W% j, ~/ _, D/ \& @) ?

  1308. 1 u9 N$ \6 d5 b
  1309. ; Connection: Set this to a user chosen connection class to be used6 }6 }5 s* v- Z% S7 b9 h- j: V5 _
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    # T1 E4 J- p9 |; ]% D
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' w9 t0 m' I" b7 t# |
  1312. ; the same string for all web servers running the same application,
    ! \5 r1 {1 l2 k& P' s7 b& o  C; f
  1313. ; the database pool must be configured, and the connection string must
    5 f+ e: t( R1 t4 |+ a0 a3 a8 d; c
  1314. ; specify to use a pooled server.
    , X3 w! z8 w" H$ }7 j) e# z2 J0 n
  1315. ;oci8.connection_class =! t: l, g" F3 X- r2 a! x

  1316. 9 c% Q' Z. a. N) ?" R8 T
  1317. ; High Availability: Using On lets PHP receive Fast Application6 X  X# `1 i1 @7 u- K9 x1 e
  1318. ; Notification (FAN) events generated when a database node fails. The. Y" P) X( X3 U0 u
  1319. ; database must also be configured to post FAN events." X( y0 ?8 V' _) E. e- g
  1320. ;oci8.events = Off
    - f0 A4 x: Z- ~1 H
  1321. / C  F! G+ J8 \/ r
  1322. ; Tuning: This option enables statement caching, and specifies how
    ; c+ Z# \" t& t$ L
  1323. ; many statements to cache. Using 0 disables statement caching.) U6 B* d$ k; ]$ b+ U: M
  1324. ; http://php.net/oci8.statement-cache-size
    / H8 W& G* |9 Z" t
  1325. ;oci8.statement_cache_size = 20* \4 d6 r6 f1 q, }( l8 h* q

  1326. # q0 n  p2 e5 t: i
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    2 [: A7 @1 ^/ G5 V5 r$ o
  1328. ; rows that will be fetched automatically after statement execution.
    + R" Y  h- s$ G. h, ]  C) Z
  1329. ; http://php.net/oci8.default-prefetch
    * |. M! C' ]. f" c, ?
  1330. ;oci8.default_prefetch = 100
    ( J. g/ L: a' k5 y8 H

  1331. / l6 y5 A3 _; P
  1332. ; Compatibility. Using On means oci_close() will not close! x- b. J3 l0 d5 W) }' q; O
  1333. ; oci_connect() and oci_new_connect() connections.1 j9 A" ?6 M2 p( S" ?" }. W+ ~
  1334. ; http://php.net/oci8.old-oci-close-semantics
      M, p% H2 _6 L+ p
  1335. ;oci8.old_oci_close_semantics = Off
    2 O+ V/ ~6 _# D7 _! M/ u
  1336. : s1 l4 i+ N. l7 S$ l( _( l
  1337. [PostgreSQL]
    $ ?3 k* O8 d- `( @8 x
  1338. ; Allow or prevent persistent links.
    * Y, U4 q8 ?' w; `2 b3 }( y9 a
  1339. ; http://php.net/pgsql.allow-persistent
    ) R) R& W$ `, K0 w
  1340. pgsql.allow_persistent = On! T& d$ c! }, ^

  1341. % n) }( ^: H; G9 u' d
  1342. ; Detect broken persistent links always with pg_pconnect().$ l' {$ C8 R1 e
  1343. ; Auto reset feature requires a little overheads.
    + ]% b" X, p/ t, n; Z
  1344. ; http://php.net/pgsql.auto-reset-persistent
    % m/ |; U$ e  z& P2 \" t, d$ E
  1345. pgsql.auto_reset_persistent = Off
    5 b" z  u' F# `; p
  1346. & H; H* [7 a8 E2 g0 k2 i0 {5 Q
  1347. ; Maximum number of persistent links.  -1 means no limit.
    # ]1 ?. F; y5 w2 h  G
  1348. ; http://php.net/pgsql.max-persistent
    7 t9 K  Y0 r! R7 q
  1349. pgsql.max_persistent = -1
    8 z" g( U1 N' x' ^% j
  1350. 3 @) d& M* @) [: \& \$ e
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.1 f% Q$ Q3 ^% `2 F+ j; H, s
  1352. ; http://php.net/pgsql.max-links
    ' ?  n! V% A( f2 [
  1353. pgsql.max_links = -1% q- C, q( @( o! B6 o! j

  1354. 7 O% ]1 k+ }, v. [
  1355. ; Ignore PostgreSQL backends Notice message or not.
    , `8 R% ^( J' a1 Q. ]- M0 L
  1356. ; Notice message logging require a little overheads.
    " l2 |; [4 N. A" H7 [7 y7 p3 b  i
  1357. ; http://php.net/pgsql.ignore-notice
    4 x3 L7 Y+ s! d9 {
  1358. pgsql.ignore_notice = 0) b% v$ u" r# u

  1359. / ~6 j: a% I% {5 Z6 u
  1360. ; Log PostgreSQL backends Notice message or not.
    & u& \  u4 h/ I' c1 z# @2 |) Y0 P
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.2 v0 u5 T1 i2 S4 l7 A, T
  1362. ; http://php.net/pgsql.log-notice
    . S/ `1 a/ s5 z, _# P
  1363. pgsql.log_notice = 0
    7 ]0 r: r9 P! q' Q" V& n* w

  1364. 7 T2 E3 g7 c: @& s! T& a; e  `
  1365. [Sybase-CT]
    9 Q. _0 R, a1 ]" d
  1366. ; Allow or prevent persistent links.5 h; z) o6 W" l0 G4 I, w( U
  1367. ; http://php.net/sybct.allow-persistent
    6 S% R( X6 j& n. ]9 o' `
  1368. sybct.allow_persistent = On
    ! s! o2 l- L: ^2 m
  1369. 1 k7 A; v: T( a/ U
  1370. ; Maximum number of persistent links.  -1 means no limit.: P4 f" {* Q  L& Z. B
  1371. ; http://php.net/sybct.max-persistent- C; r' ]! M% X9 _4 \0 @0 o! T" `
  1372. sybct.max_persistent = -1
    $ |3 X* T, d5 v5 }! [0 W! N* R

  1373.   S% A) a& i* V1 V+ D
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ Y! T, _2 K( M( Z
  1375. ; http://php.net/sybct.max-links% @" S) D; z1 `
  1376. sybct.max_links = -17 @( r. l* x. r
  1377. ) j8 V1 y. s+ g9 n: Z( \! A! z7 U" P
  1378. ; Minimum server message severity to display.
    3 a/ j& B/ U" e* G4 [! H( I  T6 a
  1379. ; http://php.net/sybct.min-server-severity
    $ u' l% m6 G) O" J; B4 L
  1380. sybct.min_server_severity = 10
    + E' V6 i9 J2 }+ H( _6 n5 g" z- t5 B

  1381.   g; p, \9 }. k
  1382. ; Minimum client message severity to display.
    " X: M, ~+ K" c' d, }2 l
  1383. ; http://php.net/sybct.min-client-severity
    * d* F+ J( J; R" Q
  1384. sybct.min_client_severity = 10
    6 l. r1 I& j2 @9 {6 B/ b8 X
  1385. : x- B  ?5 s$ ~; I, ]) t
  1386. ; Set per-context timeout
    6 _: U. O7 w7 p% `1 r
  1387. ; http://php.net/sybct.timeout" }( R( N/ Y& ^, X" N
  1388. ;sybct.timeout=, m" j, J2 z7 J& T% N

  1389. 4 _: c( ^: C6 Y' X" i/ J
  1390. ;sybct.packet_size
    1 p2 S" Y8 ~5 D: B" N7 P% t

  1391. & U; Y7 D; t2 \& n: Z( h, I& y
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    1 |" P  R: u6 Z' {' f+ b8 z. l% [+ ]
  1393. ; Default: one minute
    - [, a3 ]# w( x* ]$ q
  1394. ;sybct.login_timeout=& Y( _1 X1 y. s$ F5 ^
  1395. & {! ^5 s+ I! W) ^2 D# }/ d
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    / u- @, ~: g8 c6 i$ v+ p+ o
  1397. ; Default: none, x7 O9 A9 b1 I: a! J4 Y
  1398. ;sybct.hostname=2 U  ^' A/ ]3 W' l
  1399. 2 ]. l3 T5 Y3 S: f6 h0 Y0 {
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".1 v7 }$ h+ {' g$ X% G( j. J1 L  b! C
  1401. ; Default: 0
    3 L" ^; d  h8 J9 i2 b
  1402. ;sybct.deadlock_retry_count=
    , s; N. X4 r& E2 N6 t+ `

  1403. 2 w# L, d" |& |( k, y
  1404. [bcmath]
    6 y9 F# ~5 D# S; K/ m& Z7 M
  1405. ; Number of decimal digits for all bcmath functions.
    # L) O2 C$ S- q7 V5 T3 E
  1406. ; http://php.net/bcmath.scale& i2 p  r" m: J1 y1 G
  1407. bcmath.scale = 0
    - Z+ u2 l; e/ _  q' {2 U
  1408. 2 f$ Q5 I* Y1 y5 o% u1 n
  1409. [browscap]$ V' a) Y$ S/ ?0 q- \) w4 d) K
  1410. ; http://php.net/browscap; L, z  t3 s4 d. K/ }
  1411. ;browscap = extra/browscap.ini
    / J* j/ b2 ?7 ~% _5 g

  1412. , J, Q' R" D3 e* R' T5 G" P) T
  1413. [Session]
    - ^- k8 b+ y. ^4 }# o, V
  1414. ; Handler used to store/retrieve data.  ~5 }' x5 C" x3 d( E
  1415. ; http://php.net/session.save-handler
    * ^- ~7 n) k0 F' W* d
  1416. session.save_handler = files
    8 v% U' E* J7 A! Q

  1417. 3 i! U/ \9 T' I% P* H* k
  1418. ; Argument passed to save_handler.  In the case of files, this is the path# a+ ~: i, p" d: B2 L
  1419. ; where data files are stored. Note: Windows users have to change this
    + Y; ^* F3 H/ w# q" m
  1420. ; variable in order to use PHP's session functions.
    ) G3 Y) {4 F; z
  1421. ;
    0 A6 X+ W" B  M- U4 t0 S; ~' T: ]. {
  1422. ; The path can be defined as:
    2 k* N% Z3 c! j2 c  P# K
  1423. ;2 d. K, M) c9 P& @4 Y. P* G' q
  1424. ;     session.save_path = "N;/path"1 j6 s' b8 T9 D: y3 S5 h
  1425. ;3 G' U6 R& j. i( M2 ?+ }
  1426. ; where N is an integer.  Instead of storing all the session files in7 D" N1 T2 `4 ]7 t- p
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    1 j2 A% W2 c) T0 F
  1428. ; store the session data in those directories.  This is useful if+ _9 V8 D3 f7 y( O! P5 b; G& S# G
  1429. ; your OS has problems with many files in one directory, and is
    % P, C- U' V$ P/ }; V6 z
  1430. ; a more efficient layout for servers that handle many sessions.
    & ]/ d' E2 ~8 Q1 w5 r# ~
  1431. ;
    9 F3 Q3 j0 j1 W6 G+ l4 F) V7 R
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    # |& ]9 h* X/ B7 z
  1433. ;         You can use the script in the ext/session dir for that purpose.
    , t! {5 _, e8 O
  1434. ; NOTE 2: See the section on garbage collection below if you choose to7 [2 {6 R. S1 r- \
  1435. ;         use subdirectories for session storage' i, s6 W! N! [; p; n
  1436. ;6 q% Z  \) Q/ l" A2 h0 J
  1437. ; The file storage module creates files using mode 600 by default.
    7 V" r& W; ~, [, c4 a, ]/ B) W8 B
  1438. ; You can change that by using2 h$ Q' D( m. n
  1439. ;
    ) m/ D  w8 v0 m
  1440. ;     session.save_path = "N;MODE;/path"# u1 a, ^& P8 b' e; I
  1441. ;7 M7 @; b) E+ k0 A( \+ R
  1442. ; where MODE is the octal representation of the mode. Note that this
    - d7 D  y* m1 o+ T
  1443. ; does not overwrite the process's umask.
    . m( e' r5 v- y* x9 v" Z+ A* R
  1444. ; http://php.net/session.save-path1 u$ Y1 n% p" D; Y  a
  1445. ;session.save_path = "/tmp"
    % F4 J: X& a0 ]% Q, P% B
  1446. ( L+ Z6 [' f' S
  1447. ; Whether to use strict session mode.9 _" F9 y7 I# `* [- P" S" `
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate" N6 C6 B; c6 Q
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects/ N2 x6 m/ v4 ^) d# A2 d. ?. q
  1450. ; applications from session fixation via session adoption vulnerability. It is( R! C/ E* J/ x' g1 c7 j4 D
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.! q9 x- y8 r- A# z: w& p
  1452. ; https://wiki.php.net/rfc/strict_sessions
      \& t" W9 ?+ |5 {
  1453. session.use_strict_mode = 0) v+ R6 _' Y* ^
  1454. ; L$ _8 ^9 l' ]4 Q
  1455. ; Whether to use cookies.
    % r$ R% W8 M. x4 F
  1456. ; http://php.net/session.use-cookies
    3 T3 _6 I2 p! a& S' W
  1457. session.use_cookies = 1- k) t0 N" \" X' S' L4 U  {* T* O
  1458. 0 U1 `/ C1 r" c) b9 f2 J0 z, B  p
  1459. ; http://php.net/session.cookie-secure! l5 K) b! _% W. k7 y0 |
  1460. ;session.cookie_secure =
    : q* W) V; d* v9 f2 M; O
  1461. ; v, v. O( T( X4 G3 B/ F: g
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining% V) Z" ?1 y3 i$ ?; \8 `
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    8 _  U& z/ ?: m5 n, a7 C
  1464. ; session hijacking when not specifying and managing your own session id. It is
    5 p5 n; X  ~! m, s; n; R( `# ]
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    + j2 l. h; e' K* e: ~- o7 J
  1466. ; http://php.net/session.use-only-cookies
    " Q4 @# M3 N* V
  1467. session.use_only_cookies = 1; U* P% P% j: ^% \3 ^

  1468. ! M2 [; |6 D( f: _
  1469. ; Name of the session (used as cookie name).
    ; @, e& @( x0 {! {' q
  1470. ; http://php.net/session.name7 U- A* c$ m% m/ [5 y$ i% M
  1471. session.name = PHPSESSID
    & a! ^3 i+ P5 J  r# A8 p9 t

  1472. & F, @9 j& X: u4 j
  1473. ; Initialize session on request startup.5 I0 ^3 R! ]7 c( X8 l
  1474. ; http://php.net/session.auto-start7 u& _! B. P' g: g
  1475. session.auto_start = 00 [2 g& ^. u8 f3 d* k' X
  1476. 1 s+ K) Z* v! x. @- `3 y) y
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.% G) T. Q" |- H4 B5 N* }7 Y
  1478. ; http://php.net/session.cookie-lifetime
    * R$ O& ?; S$ D/ D9 G! E# }. }
  1479. session.cookie_lifetime = 0% N* Y( z% h$ ]7 ?' |
  1480. - u, Y  z- [$ X0 `3 P4 x
  1481. ; The path for which the cookie is valid.0 i1 S, j0 w! |- n1 j. P
  1482. ; http://php.net/session.cookie-path
    , H* K9 ^9 n  ^/ U8 O& \
  1483. session.cookie_path = /- J. b$ i- ^' L

  1484. 9 @* }4 H$ _, B, t. W  I1 _+ T/ O
  1485. ; The domain for which the cookie is valid.9 y! l8 D. c  }: m
  1486. ; http://php.net/session.cookie-domain
    / I+ C, \8 G) U9 t1 e
  1487. session.cookie_domain =/ Z( Y0 s( ]$ V2 m
  1488. 0 \; {( W9 R, N
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ! `( |# a: T$ o( H! g  Y% c
  1490. ; http://php.net/session.cookie-httponly1 N; C4 u! X. z9 h% s9 o
  1491. session.cookie_httponly =' T/ a6 H* }, b1 `% H8 h6 Y
  1492.   n7 {6 {- v2 n0 V% C: X
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.+ _! k0 F! J( b+ D( l
  1494. ; http://php.net/session.serialize-handler( q, c  k7 F7 S8 b8 L. ~
  1495. session.serialize_handler = php! ^+ ^) N  L" m+ {' A5 i- V$ r7 t1 q
  1496. 5 }% Y% B" `  u  H+ T
  1497. ; Defines the probability that the 'garbage collection' process is started# a7 V8 n. S7 Z, n+ X% @& x: d
  1498. ; on every session initialization. The probability is calculated by using" W2 W2 B  K+ L3 I  o/ z
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator2 D! \4 N0 L5 G5 D- @
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    - {' {; F0 r! }. B9 M( U
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 T! g- g) X, ]; A* O2 m
  1502. ; the gc will run on any give request.
    ( a( U3 a# n7 o* N* y
  1503. ; Default Value: 1& y2 B! \  k; s: Y. m5 U
  1504. ; Development Value: 1
    7 \5 {! @+ A4 h% o# V
  1505. ; Production Value: 1
    % I# q  E: A2 q7 b/ o% }: E
  1506. ; http://php.net/session.gc-probability! a2 v$ [. S, P0 m" g
  1507. session.gc_probability = 1/ w+ @0 J' A% g! [4 p/ p
  1508. + o; O5 c. y# E3 h8 e
  1509. ; Defines the probability that the 'garbage collection' process is started on every9 }2 ^1 x# B  ?" H+ ~) z
  1510. ; session initialization. The probability is calculated by using the following equation:
    ' Q9 x; v1 Z* h* k
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and7 _" Y8 @# e( u+ N; j0 G
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - f8 x& x+ B& Y% u' _* ?
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 S6 F  s8 r8 e4 y: ^/ G3 e8 y! Q/ G4 b
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 C! o' x( c7 f; v
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    + K/ ~  ]. @3 {0 E0 O: n/ p
  1516. ; this is a more efficient approach.: ^" l8 |$ M* u: R* o% U+ q
  1517. ; Default Value: 100$ p' i) `- Z/ [, \1 R% _5 l! {
  1518. ; Development Value: 1000& ~. m$ k" s/ ~6 ?; C+ }& o* N- C
  1519. ; Production Value: 1000
    ! ?, Q$ ~+ N0 }
  1520. ; http://php.net/session.gc-divisor
    ) i( j! T8 e  H+ g2 U
  1521. session.gc_divisor = 1000
    & [) w5 G; i, d$ X4 X
  1522. ' {2 n* ~& ^( Z  \
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and) e2 n. C$ g, P3 d# m/ Z: Q8 n" w
  1524. ; cleaned up by the garbage collection process.
    5 W/ i& U0 F! W! ~$ N  {3 t. C
  1525. ; http://php.net/session.gc-maxlifetime
    ( k* b$ n7 P0 R* D2 e8 D- d- y+ B
  1526. session.gc_maxlifetime = 1440
    ! r' a8 a- `+ B

  1527. ) F! i4 L' J/ E
  1528. ; NOTE: If you are using the subdirectory option for storing session files8 E" W+ B* m$ f% q! q- h% e/ L1 E
  1529. ;       (see session.save_path above), then garbage collection does *not*
    7 A1 }+ S3 u' W* ?# `/ b
  1530. ;       happen automatically.  You will need to do your own garbage3 H! a0 j1 z7 g+ K6 P
  1531. ;       collection through a shell script, cron entry, or some other method.
    - u4 p! ^5 z; y4 s/ g
  1532. ;       For example, the following script would is the equivalent of
    & {. z! P" h: k$ I
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    + ]* M$ _9 Z, c# {" n6 Q
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ( `+ L$ J+ H; m" |
  1535. 4 W$ i9 j# S5 @
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ; E- q7 @; j; F" C7 K
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    1 k( S) S6 I0 d, s* K' R
  1538. ; considered as valid.
    ) m, f# S9 @2 @. T. u; c
  1539. ; http://php.net/session.referer-check# W! S$ r* E7 E; ~; O
  1540. session.referer_check =0 h! S) Q6 N# [" A

  1541. 5 p9 V; j+ W! ~2 u5 i8 G8 g
  1542. ; How many bytes to read from the file.- [1 o0 }6 o8 t% ]) i2 b
  1543. ; http://php.net/session.entropy-length2 k* |& t9 B. y" \. M
  1544. ;session.entropy_length = 32
    7 Y$ |3 N6 n7 n' K/ t
  1545. 7 L: d- t* X1 n$ n+ M7 w6 d7 K  l6 l
  1546. ; Specified here to create the session id.1 S; ~+ x3 x* @
  1547. ; http://php.net/session.entropy-file3 w$ R* e' h: Y7 `
  1548. ; Defaults to /dev/urandom2 ^! _3 e( ?7 D& g* S7 Z
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . L, h4 O1 J! B6 B# j
  1550. ; If neither are found at compile time, the default is no entropy file.
    % i9 c$ t4 r* O! A: \+ y- l# L
  1551. ; On windows, setting the entropy_length setting will activate the4 R0 {! B- V9 o" _5 [4 |# c4 R. r
  1552. ; Windows random source (using the CryptoAPI)
    ; {1 D& `) K4 I- e2 o* r/ Q
  1553. ;session.entropy_file = /dev/urandom
    8 X6 r: o9 i/ r/ s! C+ ~

  1554. 7 S- q. E0 z! `
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    + z0 Y/ z8 m" x) B; w, J
  1556. ; or leave this empty to avoid sending anti-caching headers." X7 x/ O# w5 [. l! U$ `
  1557. ; http://php.net/session.cache-limiter2 W; ?$ K5 U  E: O
  1558. session.cache_limiter = nocache/ |0 w6 O. k) A
  1559. * a1 f1 w& j* U  ~
  1560. ; Document expires after n minutes.
    7 w- d" J- ~- T4 Y7 [( B
  1561. ; http://php.net/session.cache-expire
    8 V* e+ B- \( o) g- G! S
  1562. session.cache_expire = 1804 u6 ~( g/ X0 W! O2 Y/ i

  1563. / c/ y% ~: G" L" `9 u
  1564. ; trans sid support is disabled by default.
    3 P" B% S6 z) T7 p  x* k3 K. M; B: ?
  1565. ; Use of trans sid may risk your users' security.
    ! V4 _' v4 _( n2 y" |. @
  1566. ; Use this option with caution.* q6 |- D; b& i/ r  N4 }
  1567. ; - User may send URL contains active session ID! m9 o2 U" @+ P6 h0 b
  1568. ;   to other person via. email/irc/etc.
    * g7 f+ J6 P# E
  1569. ; - URL that contains active session ID may be stored) o# H& Y: d0 a  D: |
  1570. ;   in publicly accessible computer.! u0 E4 a0 o( W; w
  1571. ; - User may access your site with the same session ID
    9 w3 o% B  i, R' W. D
  1572. ;   always using URL stored in browser's history or bookmarks./ I2 X/ }% x+ b3 f# j0 w' l4 |
  1573. ; http://php.net/session.use-trans-sid
    ) R" M! q' k- U5 X$ I2 Y' A
  1574. session.use_trans_sid = 0. `3 t. Q+ v; B3 t, T
  1575. - }4 a4 S  Y- ~! j2 a3 J$ g* H6 j0 q6 g
  1576. ; Select a hash function for use in generating session ids.# k( i6 Y9 P4 ]" M: a$ _0 z/ e  d
  1577. ; Possible Values" w2 N  F8 V* t  p. U
  1578. ;   0  (MD5 128 bits)
    + S2 \. C$ g" t$ p
  1579. ;   1  (SHA-1 160 bits)$ W7 y) J  w  I$ n4 Z! \7 A  e) Z
  1580. ; This option may also be set to the name of any hash function supported by
    ; ~1 T4 b, k, [) ^  Z1 l& D+ ]/ y
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()# m+ p3 |( r& B2 m6 K$ }8 j: ?
  1582. ; function.+ m& c3 S$ I5 K$ E4 }
  1583. ; http://php.net/session.hash-function
    ) S6 _8 Y7 N4 s$ y& ]( x4 r& k
  1584. session.hash_function = 0
    - s: f. d  W! z+ y+ a

  1585. : e1 C# u( y( S
  1586. ; Define how many bits are stored in each character when converting
    0 U  j% }0 h, N! \) ~7 [' p4 ]
  1587. ; the binary hash data to something readable.: j4 m3 p6 _+ D0 D
  1588. ; Possible values:/ L+ L  k# J  m# u4 V8 ]  K
  1589. ;   4  (4 bits: 0-9, a-f)
    4 ^9 b- S) }1 n6 n
  1590. ;   5  (5 bits: 0-9, a-v), \7 k& X# q: y' d
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")$ R) C% B/ [+ w4 j8 S  X. ~
  1592. ; Default Value: 4% i4 ?- E/ g% U4 E( D% o
  1593. ; Development Value: 5
    : X/ z1 A( D4 U9 {5 ?" [' g
  1594. ; Production Value: 5
    / S) y  K; F/ ~% @0 I, M" C
  1595. ; http://php.net/session.hash-bits-per-character  V# Q$ M& _' l  J! G+ p
  1596. session.hash_bits_per_character = 5
    & z8 N: ?9 a; r' _' @+ r
  1597. / `8 d: q) r7 e: Z+ O, i0 m0 b' Q  z
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.' j4 r+ M- `6 g7 j+ `% s
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    / e- A* Z: ^0 `1 A2 ~9 {  R6 ?
  1600. ; add a hidden <input> field with the info which is otherwise appended0 F$ ^/ d: _3 r$ f3 _$ T: l
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.- P. k) a0 ?( h
  1602. ; Note that all valid entries require a "=", even if no value follows., j3 A, G1 c8 S: N4 d! V
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    9 t' p$ R$ {! N# ]
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; j8 u" }; A; M6 q
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      u$ X% }) _& a# i: K
  1606. ; http://php.net/url-rewriter.tags
    / ?, z& S2 D% g4 \, h6 r# [! ?
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 i$ }; ~) M1 ]5 ?8 \8 w/ V
  1608. ; w4 B' H" `) t5 F& s; [7 X9 L
  1609. ; Enable upload progress tracking in $_SESSION
    1 i3 P; u  b) f9 t7 m
  1610. ; Default Value: On& P4 z: O* V: D/ z! ?9 u
  1611. ; Development Value: On
    0 n5 Z- W# x4 d- o4 Q- L2 p
  1612. ; Production Value: On+ }& _& K# o4 {& S7 Y$ l8 x$ [
  1613. ; http://php.net/session.upload-progress.enabled$ A$ W# o, C) i. s
  1614. ;session.upload_progress.enabled = On
    5 ~& H+ P$ t: ^" r

  1615.   |( g( V) I: J, T7 f% u
  1616. ; Cleanup the progress information as soon as all POST data has been read# ~. ?% ~& A- ]9 o
  1617. ; (i.e. upload completed).% k/ ?; Y& a1 j5 p
  1618. ; Default Value: On# i' s, [4 }, d4 o
  1619. ; Development Value: On
    ; v% Y/ }, u9 w, `( f
  1620. ; Production Value: On
    2 s2 S2 u$ ]- G2 ^  \6 L
  1621. ; http://php.net/session.upload-progress.cleanup
    7 c! n5 D; S, R& H4 q
  1622. ;session.upload_progress.cleanup = On
    8 I# u3 l- `1 \( D! f& ~' Z

  1623. 8 g5 g% [+ j! E8 L% o! g
  1624. ; A prefix used for the upload progress key in $_SESSION2 B8 S. D3 k. g, @; s' P( Q+ l
  1625. ; Default Value: "upload_progress_"& |0 j1 O  ~+ p7 z' \$ a. a" X
  1626. ; Development Value: "upload_progress_"
    & ]) D9 Z% O3 E4 a8 I. F
  1627. ; Production Value: "upload_progress_"% w$ i6 u! d1 ?+ {) z: x0 p
  1628. ; http://php.net/session.upload-progress.prefix' w) L- Y. {4 E% l: K0 u; S% Z# x
  1629. ;session.upload_progress.prefix = "upload_progress_"4 x9 Y0 p  b# l0 X+ b, ~  f5 X
  1630. / x7 q- p# q0 `  g
  1631. ; The index name (concatenated with the prefix) in $_SESSION% ^6 f7 U: k" Y
  1632. ; containing the upload progress information
    " J! Y( O2 K6 {0 c0 y& M- b( B; ^
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + ^& l& {+ p( \5 c: a- g; O( d- y
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"# W! l4 }0 [" _( a' I: j' F
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / m* j  L5 ^7 v
  1636. ; http://php.net/session.upload-progress.name
    3 q1 u, ^7 z3 ^- f. U1 J0 z
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    1 w8 k) `* }! F% y' ?$ I
  1638. 7 l4 t0 B. g2 R* z
  1639. ; How frequently the upload progress should be updated.+ D! ?4 S8 W& C6 ^5 X3 T2 j0 }% O
  1640. ; Given either in percentages (per-file), or in bytes) d* F* _5 w& C9 ]) J5 F& C% t
  1641. ; Default Value: "1%"
      C7 K8 C; U6 j& `4 s. A+ W
  1642. ; Development Value: "1%": Z, W; q# d* \. d- u
  1643. ; Production Value: "1%"
    2 }# ]& `3 d' B' P* B
  1644. ; http://php.net/session.upload-progress.freq! i; v) M% y! A$ G3 w* a: R$ h
  1645. ;session.upload_progress.freq =  "1%"
    8 {8 k& J. E9 \2 n9 V  g/ j2 v

  1646. 5 K% u$ h0 G! C6 z* p0 v# a8 Z
  1647. ; The minimum delay between updates, in seconds
    $ _  d. v% d1 m$ h" r4 b
  1648. ; Default Value: 1
    7 P) K( y- z0 P) |* w
  1649. ; Development Value: 1$ C% f* l" @# {
  1650. ; Production Value: 1
    + H/ `( F- p4 c5 Z( ~4 ?8 u6 |
  1651. ; http://php.net/session.upload-progress.min-freq
    * u+ v2 w9 s/ K- |) u" R- Y# p8 A6 h
  1652. ;session.upload_progress.min_freq = "1"
    " ]' w+ Q+ Q$ ]% }! w3 V3 r0 h, e

  1653. , b8 N8 j. S7 o3 A
  1654. [MSSQL]$ q  G2 v) I% y1 s; p/ @, D$ {
  1655. ; Allow or prevent persistent links.
    2 r0 ~! ^& U9 ?) v
  1656. mssql.allow_persistent = On
    4 R( d9 {2 g3 L+ B7 ^
  1657. ) h# R& O% C% T+ Z
  1658. ; Maximum number of persistent links.  -1 means no limit./ W, f/ s7 Q4 s" _* v5 |% X
  1659. mssql.max_persistent = -19 l, B0 f3 t, j3 M* p

  1660. * E: D0 S5 x- w  }
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ! u" Y7 x7 F& k7 N
  1662. mssql.max_links = -1$ z0 f* T: k2 w* P2 z4 b3 c

  1663.   \  Q9 T# g# P. \, `( _
  1664. ; Minimum error severity to display.& p: Y" P  W- m6 I8 U5 f
  1665. mssql.min_error_severity = 10
    ' ~" X1 z! A8 O2 z! n  h3 y) H/ _* P

  1666. : m. B( A7 P* F  c! l' i  K
  1667. ; Minimum message severity to display.
    : k3 H7 M" Q! v/ s9 r
  1668. mssql.min_message_severity = 10& a* O- ?# `! G( }& H! m1 f
  1669. % x9 U7 m3 V& ~" }4 o1 J9 Z
  1670. ; Compatibility mode with old versions of PHP 3.0.
    6 J. F8 W+ s0 ~' }! f
  1671. mssql.compatibility_mode = Off
    6 R+ E$ j6 Z2 n8 V0 V
  1672. : c+ g# L8 p6 G( o# y" s" }
  1673. ; Connect timeout2 R0 t2 V8 d2 ]9 r+ L7 m( q5 t
  1674. ;mssql.connect_timeout = 5' g& W4 \3 t6 _5 Q7 H

  1675. 7 {0 Q- t. r( _' [1 H
  1676. ; Query timeout8 \3 p% y2 @* N7 `; k* E4 V9 }
  1677. ;mssql.timeout = 60! o8 D( X' u/ L- U+ z" R
  1678. & N: y3 y" a/ D0 Q' f4 h
  1679. ; Valid range 0 - 2147483647.  Default = 4096.! e1 ]+ j7 [- t4 Z+ L
  1680. ;mssql.textlimit = 4096
    4 {9 S0 R7 ], Y6 n& h& U' h, L
  1681. 0 n$ \9 R' w2 v& w: p
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    8 D) Z4 \9 ?0 }
  1683. ;mssql.textsize = 4096
    & J4 j; F1 h: I. ]3 T5 u

  1684. ! h: P, ^4 A: u7 Q6 V
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.5 T: `- E8 q9 A
  1686. ;mssql.batchsize = 0/ h/ @" H! f7 J
  1687. : f3 a1 g  Q1 z1 M/ o
  1688. ; Specify how datetime and datetim4 columns are returned
    8 a. c( D# Z' u9 |# _
  1689. ; On => Returns data converted to SQL server settings
    + o9 M7 P+ J  U# W7 w
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    1 L1 Q$ |5 q; K3 W
  1691. ;mssql.datetimeconvert = On
    7 Q5 V* U" n; K3 U8 l/ ]3 I  l
  1692. ' a& a, D) v" r8 a6 L
  1693. ; Use NT authentication when connecting to the server
    9 ?& i4 }7 `8 A. e
  1694. mssql.secure_connection = Off
    * i( ?* z5 e4 `0 I! M1 d8 L

  1695. 7 G5 j# g& O  {' |5 Z3 R0 V
  1696. ; Specify max number of processes. -1 = library default
    " i0 G0 F- |" A% f
  1697. ; msdlib defaults to 25" Y5 o$ b! C6 N% U7 F
  1698. ; FreeTDS defaults to 4096
    3 z: Q( c3 O4 S0 b
  1699. ;mssql.max_procs = -1
    & O% X4 r' V% l! ^

  1700. ( k# M/ |* N! _$ v+ y; m( |( h
  1701. ; Specify client character set.( W4 Y. E; g+ {8 K% k1 `
  1702. ; If empty or not set the client charset from freetds.conf is used
    5 U5 `& W2 {, y7 ~% l. {- p
  1703. ; This is only used when compiled with FreeTDS
    . g! ^4 ~" m  S- V! z, ~. t
  1704. ;mssql.charset = "ISO-8859-1"6 {3 ~" I1 D$ @, {* d
  1705. 0 }4 \/ C: H: i5 V+ P, D6 ]
  1706. [Assertion]' h+ U5 j) j, C" T( O9 r' W/ n. R" j
  1707. ; Assert(expr); active by default.+ |* _7 x/ g  ~# e2 E% D' ?
  1708. ; http://php.net/assert.active
    4 q! c0 D5 a/ v% l5 u; A8 t
  1709. ;assert.active = On
    3 O3 J0 _% t* _4 F2 @7 w

  1710. / Z% D0 `5 o7 H5 c. c  w
  1711. ; Issue a PHP warning for each failed assertion.
    % v+ O! k! D' p7 U
  1712. ; http://php.net/assert.warning
    " n8 j6 [8 ^- k& R
  1713. ;assert.warning = On
    * D* a/ s# u/ A9 M$ b
  1714. $ P) l7 ^# x) o; T; B
  1715. ; Don't bail out by default.1 o5 ~0 o  b6 L! {% F5 X, Z1 z
  1716. ; http://php.net/assert.bail/ w% l7 Q9 `2 p7 B0 @
  1717. ;assert.bail = Off( s, p* D. K- F. o  ?! E3 l0 Q
  1718. % C/ C5 ]! b1 B9 W- e1 X7 U# }
  1719. ; User-function to be called if an assertion fails.
    8 Q+ V& k6 b4 F% u8 N) V* O! s
  1720. ; http://php.net/assert.callback
    6 P2 \1 \4 \8 {
  1721. ;assert.callback = 0
    7 D' w: m$ @; {# h
  1722. " l! q7 y' g8 d" `! P* [: D( h7 m
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
      l; |6 j# L. D: p
  1724. ; error_reporting(0) around the eval().  L( f3 o, @. T- Y
  1725. ; http://php.net/assert.quiet-eval
    6 u6 b" E" ?" T3 h/ d" [& [1 s( y
  1726. ;assert.quiet_eval = 0
    , H2 K2 |& K% Q# p: T2 L! U
  1727. & H$ m/ |" [+ ?2 i
  1728. [COM]  g" P$ _8 O" H0 L+ f7 N( K
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs- j$ {; a# ]  F7 @2 r
  1730. ; http://php.net/com.typelib-file
    " C: C6 ?! x8 h9 O7 s
  1731. ;com.typelib_file =
      a" O/ r) b) K' n0 q/ |+ a

  1732. 8 Q# \6 g8 @, C& i, d; [2 L
  1733. ; allow Distributed-COM calls
    ! i' r7 X( H, c1 p8 f! B+ g$ l
  1734. ; http://php.net/com.allow-dcom3 C8 T4 Z5 r: q+ |% b+ _
  1735. ;com.allow_dcom = true
    : h6 F; N  {2 {" p) |! k  l  K

  1736. / }7 ]# K' s5 h: S" j
  1737. ; autoregister constants of a components typlib on com_load()
    + z8 }; f/ ]4 I' D( `% ?
  1738. ; http://php.net/com.autoregister-typelib6 s) j8 r. ^8 a5 T) m, D+ k
  1739. ;com.autoregister_typelib = true$ g9 f6 k, i" w! Y1 k5 z- M3 d
  1740. / u; `) Y$ M7 w& g8 t
  1741. ; register constants casesensitive4 K2 L, X$ v- C% @, Y
  1742. ; http://php.net/com.autoregister-casesensitive
    % M! z: ?# q. {* K/ H! E# w# `
  1743. ;com.autoregister_casesensitive = false
    : ]( J7 O" y+ G8 ]1 a0 K& [; M$ h! p
  1744. - V! I! j9 ?7 x2 Z" @/ Z$ u$ g; i
  1745. ; show warnings on duplicate constant registrations
    $ G5 h3 J! w9 }9 p5 `
  1746. ; http://php.net/com.autoregister-verbose
    + [& g, z, b8 ?# H$ P7 [
  1747. ;com.autoregister_verbose = true( g" @/ d& ^1 i/ v8 m# g! d

  1748. ! p5 g8 R3 @! q9 @
  1749. ; The default character set code-page to use when passing strings to and from COM objects.4 L4 G& _# G2 y8 K2 e9 v  S
  1750. ; Default: system ANSI code page
    ( v8 V9 S0 }3 D" @. J( @
  1751. ;com.code_page=, \" p, T0 n' F( y

  1752. ! V$ y4 A3 X( y3 p
  1753. [mbstring]
    % v; M( K6 Z% H% V- t
  1754. ; language for internal character representation.
    5 F2 h+ S% v* |8 K$ Y. D( h1 n
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.2 t& }- U" Q3 f% j) ^( J1 y+ ?' F5 F
  1756. ; http://php.net/mbstring.language* |, H' @2 d" l
  1757. ;mbstring.language = Japanese8 Q  ^  {  j; H" R" r

  1758. + s4 h( ]% J# V$ w: l5 P8 j
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.! x% u) C- t% g( k6 Q9 c+ H
  1760. ; internal/script encoding.
    4 D7 a, q6 g9 X8 f
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ; ]/ u! m1 H3 c
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.- _8 o, E& K3 }8 Q
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 X8 Q$ ]( y  n  _/ I1 q/ |
  1764. ;mbstring.internal_encoding =
    / C% e( r( f& i# R0 V4 \: O

  1765. 6 A! e6 t1 p6 N! L5 a. s  Z
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.1 `/ w9 w) h5 C: l" j3 o. |
  1767. ; http input encoding.- A# ~- Z. o' i
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    * W+ b5 ^2 R$ `
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ) p; R1 {9 c/ ^  {2 f! O+ M0 h
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    1 Y  m: |! d, A% O& J) D
  1771. ; http://php.net/mbstring.http-input9 C: i- {+ z" F& T3 K! A: l
  1772. ;mbstring.http_input =
    + |3 l7 F3 j" z: q( _

  1773. 1 Y+ Y4 {  Z" \/ w% M' O- }
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % |0 F3 q6 s! y) |; w  o: q
  1775. ; http output encoding.1 e- c  X, h0 }  W
  1776. ; mb_output_handler must be registered as output buffer to function.
    8 g6 d: M$ B4 P5 s
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.7 Y0 C3 V6 U  C" u4 x3 u
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output7 z. w2 F5 q4 I# ]  J
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    1 ?  @4 D7 q8 `9 X8 v9 x
  1780. ; otherwise output encoding conversion cannot be performed.
    , K1 F6 u( h6 J6 d$ R2 ?! I2 k
  1781. ; http://php.net/mbstring.http-output# T( M' r# ]* {. |3 K
  1782. ;mbstring.http_output =' |5 L; C. F  q. |  X
  1783. 8 K5 K; S+ {* G. R" o
  1784. ; enable automatic encoding translation according to
    7 x7 D( A$ l, p
  1785. ; mbstring.internal_encoding setting. Input chars are
    % Y" a& [6 M: A3 M) z  H( e' J
  1786. ; converted to internal encoding by setting this to On.1 ?% F7 k* V# {' ^7 b
  1787. ; Note: Do _not_ use automatic encoding translation for1 D' k9 H! @/ o( J: R4 m/ V
  1788. ;       portable libs/applications., L' Y& y. Q+ q+ I8 I# F  l  a
  1789. ; http://php.net/mbstring.encoding-translation# D, n; P7 E. ~0 Q2 C' B' I0 V
  1790. ;mbstring.encoding_translation = Off
    " w1 |3 F0 X. O" r* K

  1791. . m, {2 g3 b2 ?) M) k' I8 k. J
  1792. ; automatic encoding detection order.- a! j! A- j+ D0 V* E8 Q
  1793. ; "auto" detect order is changed according to mbstring.language
    + ?! C% G+ R* y; i) P7 u/ M7 a7 ~& X
  1794. ; http://php.net/mbstring.detect-order* ^1 f. u9 Y3 Q& f- ~+ f1 U/ l) p9 h' ?
  1795. ;mbstring.detect_order = auto( J$ V3 h7 L" a2 v  h" F

  1796.   B3 m$ Q6 Y( N3 L/ y; T. g% K# H5 f
  1797. ; substitute_character used when character cannot be converted
    ) e7 s8 o  a) w! g
  1798. ; one from another
    4 \( l1 {% V$ U6 n" k
  1799. ; http://php.net/mbstring.substitute-character
    ( `; K1 |! x6 j: W
  1800. ;mbstring.substitute_character = none
    9 }, g  y! |, d- ~" `6 p
  1801. ( R" a, l4 c! Y7 I8 n7 B
  1802. ; overload(replace) single byte functions by mbstring functions.
    1 c9 G0 f2 b/ a. Q6 P0 P/ N
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),; j! a: ]" ~  m- J  d; H& \& W
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    7 N& P- Z! O  h& `9 e: G0 ^& @
  1805. ; For example, 7 for overload everything.4 `: A8 Y, i4 L8 s3 {
  1806. ; 0: No overload
    ! F; r+ ^. `3 g
  1807. ; 1: Overload mail() function
    7 E! @; J6 J! ^! A1 m5 R6 g* q
  1808. ; 2: Overload str*() functions# @3 `$ t8 y& H0 \, Y6 e
  1809. ; 4: Overload ereg*() functions
      u8 E# u/ v/ r+ ^5 ]+ k
  1810. ; http://php.net/mbstring.func-overload
    , N' s- b( K$ ~% J) O+ ^( Z9 \
  1811. ;mbstring.func_overload = 0
    , y* a" g- t' Z" p- U3 ~
  1812. 2 ]1 a/ w0 j1 l
  1813. ; enable strict encoding detection.4 [) l& c- V3 a" v6 U+ m( y1 T& e
  1814. ; Default: Off* E) C! _' @" M- X2 g# S2 d2 M
  1815. ;mbstring.strict_detection = On; Q+ }2 m+ I' Y  H' H5 M! W' h) Y2 \
  1816. , Y1 P' X# f# Z5 z8 y1 z
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ' |. s( Z$ y4 z+ @$ ]' a5 I
  1818. ; is activated.( q; _) A/ y2 Y2 X) _$ {3 G
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)  j) T' }" [$ S) ^; P
  1820. ;mbstring.http_output_conv_mimetype=
    ) x. i& K3 g/ x! p1 P0 v( F

  1821. 8 y, \+ E* E. `! ?0 C3 w% k
  1822. [gd]
    ) t9 l6 K1 y6 I. i
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    7 Y  u: Q. l, e  Y( w$ ?, n
  1824. ; a gd image. The warning will then be displayed as notices
      J. N' o: L% A! U1 j4 @$ w& k5 y
  1825. ; disabled by default1 e6 H! N' Q5 T/ l: p$ n/ v& v7 }1 N
  1826. ; http://php.net/gd.jpeg-ignore-warning
    ' @1 N7 Q& J$ j, C5 L! n
  1827. ;gd.jpeg_ignore_warning = 0/ d, t. F$ {% Q5 N+ L4 `7 H6 P

  1828. 5 M# r) P6 m2 B+ v/ y" e8 c
  1829. [exif]4 T3 m# Z" O" Q6 {+ l) t
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    3 u4 [1 c" i, X- e) V' P: S
  1831. ; With mbstring support this will automatically be converted into the encoding
    - U3 I/ X! [* j; V. J
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding# _# ^9 ]  U  P0 R$ _
  1833. ; is used. For the decode settings you can distinguish between motorola and
    + s. C$ W% M/ H& z% C
  1834. ; intel byte order. A decode setting cannot be empty.
    ) T0 _& y) ]: u* k' \5 |# j$ X; {! n
  1835. ; http://php.net/exif.encode-unicode
    2 l9 c: X! P& u4 U3 ^
  1836. ;exif.encode_unicode = ISO-8859-152 H$ L- @% A3 L% i! I

  1837. * W; Z& y6 _; I7 K2 E: v8 a
  1838. ; http://php.net/exif.decode-unicode-motorola% G) f- b) g2 ^
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    0 M$ q& a. i& {* o- e! Q
  1840. + x* @( ^3 r8 y* I9 Q
  1841. ; http://php.net/exif.decode-unicode-intel& C' Z' G* v& p5 W& L
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ( u4 p0 D+ O- ]. a" c
  1843. . |% i# J# @+ ]& ^. O% P
  1844. ; http://php.net/exif.encode-jis
    . v8 x6 y8 P" n/ M: [3 a0 U8 J
  1845. ;exif.encode_jis =" ~: b* f1 F# h8 q

  1846. - ?  b6 v% F- z" e
  1847. ; http://php.net/exif.decode-jis-motorola
    : ~' p: b# [" V! u  B3 K
  1848. ;exif.decode_jis_motorola = JIS  i9 ?" {6 F% ^9 S7 ^

  1849. : o9 X3 ]- T0 N5 {: V& f) N
  1850. ; http://php.net/exif.decode-jis-intel
    . C; Y( N* q! U; J; l7 u( x
  1851. ;exif.decode_jis_intel    = JIS
    5 g; Y: L( r& w7 p

  1852. ; l+ p, C4 F" I( I6 s! I
  1853. [Tidy]- b, z& j+ G2 B
  1854. ; The path to a default tidy configuration file to use when using tidy
    8 g" ^# M. O  g* L0 V4 n; [3 G0 k
  1855. ; http://php.net/tidy.default-config6 M0 q2 u  n3 u" \& N% Q
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ( F  k# q7 g0 W; W; @7 h! ~
  1857. 9 K% t  F4 N# k2 n: n: P# G, V4 x
  1858. ; Should tidy clean and repair output automatically?9 W3 ~* K& @) g* O/ @
  1859. ; WARNING: Do not use this option if you are generating non-html content" D8 {9 S" p3 d' w& p
  1860. ; such as dynamic images
    - b3 ^& G7 X5 G2 ?& D
  1861. ; http://php.net/tidy.clean-output
    - i& U( ^( }$ O. f# ?% Q/ Y7 w
  1862. tidy.clean_output = Off
    3 e& [8 e  p4 o: B0 q' Z
  1863. ; j7 p. f8 U7 \- I
  1864. [soap]% R& z7 O- T2 u/ p6 F: {, T
  1865. ; Enables or disables WSDL caching feature.7 |& ]4 P; H% q, s- [$ E
  1866. ; http://php.net/soap.wsdl-cache-enabled
    8 B7 B# e! w$ ]  ]& p, S
  1867. soap.wsdl_cache_enabled=15 ^0 _0 M) i( f. `" \2 m/ ?+ w3 x
  1868. , f" x3 ?% P0 O, B2 G
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ( a) Z1 ?7 E  E0 f+ M
  1870. ; http://php.net/soap.wsdl-cache-dir( Q& D4 ~2 g+ {2 l0 o% A8 S4 L/ [7 J
  1871. soap.wsdl_cache_dir="/tmp"
    0 ?; V- q; d5 J: U7 u1 q

  1872. 1 U$ s/ ]6 r1 Z
  1873. ; (time to live) Sets the number of second while cached file will be used
    - K( Y$ I, A- f* \
  1874. ; instead of original one.
    7 S' Y8 n+ V1 r5 {. H9 r+ H0 ]
  1875. ; http://php.net/soap.wsdl-cache-ttl. C! o9 p, P, b2 D* W
  1876. soap.wsdl_cache_ttl=86400
    # S2 \, i" e. D6 \" K& a
  1877. 8 O5 }( o( L5 `  G' ?
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)2 G: L+ w- L7 b7 N/ u& S
  1879. soap.wsdl_cache_limit = 5
    # [+ p( I$ L& J& I
  1880. ; s4 I: B/ p# M  O) D% y
  1881. [sysvshm]4 G( c( b3 x0 b! `, U0 o( V* k7 q
  1882. ; A default size of the shared memory segment
    5 `. N  V2 A; [/ h: g4 w
  1883. ;sysvshm.init_mem = 10000+ f2 l6 t4 D" V( j# P; h* W

  1884. $ t) W$ c  ~5 y+ c" V
  1885. [ldap]
    , \$ i7 L. `4 f' u
  1886. ; Sets the maximum number of open links or -1 for unlimited.- D* E: X4 D3 d8 J  W% ~% D$ _
  1887. ldap.max_links = -19 P: W. `$ ^3 r' I- v' ?: A- T

  1888. & L$ P. V; j2 s5 N7 a
  1889. [mcrypt]
    . V% ~) Q4 ^0 @! p( C
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    9 b" u0 r. Z  I

  1891. , ]3 S5 a, D. X. [
  1892. ; Directory where to load mcrypt algorithms' ^& O8 Q1 Z) O* K/ d- b8 x+ }, E
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): L6 i- P: N; T9 |! K! i
  1894. ;mcrypt.algorithms_dir=6 Z) M6 y) v- @+ ]! q
  1895. * U5 |# W" e; Z# z# Q% f
  1896. ; Directory where to load mcrypt modes2 N1 _+ h. [) B8 @
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! n: A* B) y' {: G+ }# @
  1898. ;mcrypt.modes_dir=& o% |7 t3 a. k5 c

  1899. : D& @  R2 _  k& m3 t$ B2 h0 `. p
  1900. [dba]! l; i5 \% c1 j  E7 W! h+ Q
  1901. ;dba.default_handler=
    0 K7 g, ], F$ p/ z
  1902.   l- K6 _. B7 }7 D! q
  1903. [opcache]+ H0 r- H2 Q1 X
  1904. ; Determines if Zend OPCache is enabled) @9 G9 ^- t+ A6 r6 Y/ a
  1905. ;opcache.enable=0
    # a$ t+ t9 i2 x- y+ ^) c7 @
  1906. . b1 }7 c; |+ B. `
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    2 i; _: F  K  \, E7 z( D- c+ }  U
  1908. ;opcache.enable_cli=0
    1 p( v. p5 ]9 r1 X9 X* Y/ j. B6 G

  1909. * o$ F9 Q$ Q' T1 n6 V% R
  1910. ; The OPcache shared memory storage size.! ]/ M' d6 w& R, c0 ]& @* O) n
  1911. ;opcache.memory_consumption=64
    4 a* i0 H3 H4 H+ t

  1912. ) W; Z4 p- ^0 z% L* t' e
  1913. ; The amount of memory for interned strings in Mbytes.
      E$ S' o" a1 t
  1914. ;opcache.interned_strings_buffer=41 ~$ M9 v6 c; h
  1915. 8 p( G1 S8 v. l- K4 N
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.! @; y! _. I1 k: F
  1917. ; Only numbers between 200 and 100000 are allowed.
    2 A4 J2 f  m0 e
  1918. ;opcache.max_accelerated_files=20005 _+ i* _% r, @
  1919. ( c" P9 v# U$ j" u5 W
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.0 ^2 ~( I0 X# z* C  k5 z8 g
  1921. ;opcache.max_wasted_percentage=5" x- x8 A# v$ S: A! G" G$ q  E, ]2 }
  1922. ' I4 z! |5 h2 G
  1923. ; When this directive is enabled, the OPcache appends the current working2 i  K' P2 ~1 P/ M* P! p
  1924. ; directory to the script key, thus eliminating possible collisions between( V4 m! v+ d' g% D2 H8 d
  1925. ; files with the same name (basename). Disabling the directive improves
    : _" [2 E2 |& M! _& r: q
  1926. ; performance, but may break existing applications., H  R* o' z0 ?2 p0 f8 w$ a- T0 S
  1927. ;opcache.use_cwd=1* t; F$ n, R1 L) ]! j1 f9 W
  1928. + e% L' N& g( \5 @) ~, x( x
  1929. ; When disabled, you must reset the OPcache manually or restart the" s4 U, [: |. s1 \
  1930. ; webserver for changes to the filesystem to take effect.
    ; L9 V# K( f7 R8 v( D
  1931. ;opcache.validate_timestamps=1( H$ P+ s1 A2 {! q" h- q

  1932. + G; t% i0 f" D: I4 w
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    / T  I! x7 o3 t+ Y
  1934. ; memory storage allocation. ("1" means validate once per second, but only- N) c3 b( b8 O5 d5 V9 ^
  1935. ; once per request. "0" means always validate)
    ) j  H0 q; n$ S5 z
  1936. ;opcache.revalidate_freq=2' X" m" C0 E3 P6 G

  1937. % l3 J6 Q! ~$ S2 s4 [. W
  1938. ; Enables or disables file search in include_path optimization5 I+ I% H7 k/ F. X+ F/ K3 m1 M
  1939. ;opcache.revalidate_path=0
    % |. B- s3 X" Z6 e- i9 g; w
  1940. , g1 w, O  D9 n. k* }8 i! C, @
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    " I, J4 B* O  o2 G. N# h; D6 T% I
  1942. ; size of the optimized code.
    $ o% I7 `" k0 C' r2 u9 u
  1943. ;opcache.save_comments=1# l3 u" O! S7 ~' p2 T9 w

  1944. - x8 F" |8 I% O) C& L4 m) I
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    8 C. w7 K- R  w' x5 z) E
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    - }1 N: T) I" S4 E
  1947. ; that don't need them anyway.6 D4 O  B5 S; ^# ^
  1948. ;opcache.load_comments=1
    ) z9 {' f5 O8 u  v, D6 q0 h4 P
  1949. : \( C2 ]" t7 H& _9 b8 c
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    0 E9 d0 Y# o$ ~8 y
  1951. ;opcache.fast_shutdown=0
    . F& ?; f4 q4 ?( B$ J8 s4 L7 }
  1952.   `* B4 {, {1 d, I& F
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    5 A0 A& h0 w/ Y7 h0 o& h; H9 d
  1954. ;opcache.enable_file_override=0; T8 j, Z) o5 S" ~, T/ z

  1955.   B5 j% C! A( i5 m$ x" ~) M
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache) N3 ]6 R3 S; m# X9 `
  1957. ; passes
    6 x- @9 s! r' ^. n) T5 A+ A$ g1 h2 A
  1958. ;opcache.optimization_level=0xffffffff4 y$ N+ @; Z7 D, x; Y7 ~

  1959. ; T; N) _# [! y1 s
  1960. ;opcache.inherited_hack=18 g7 B1 }3 H# x( L9 U: y! n; a3 t
  1961. ;opcache.dups_fix=0( [  |2 l* P3 x2 o& ]
  1962. % z9 G6 n  X' i9 r' j5 C
  1963. ; The location of the OPcache blacklist file (wildcards allowed).  [7 K+ B6 o, U1 c8 h0 \
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    , `* R/ s/ E1 e7 ]
  1965. ; that should not be accelerated. The file format is to add each filename* o8 v0 z  ^; R+ j% S, M5 q- ?. p3 m
  1966. ; to a new line. The filename may be a full path or just a file prefix
    8 `$ M4 R1 \8 T) N0 m# X
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 D8 u! N/ d7 W4 r9 q9 Q) j, ?
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).( V( V) D* }* f* \1 f6 F
  1969. ;opcache.blacklist_filename=; b" M8 |9 H7 M1 ]; i

  1970. # \' C0 V% F( U5 R
  1971. ; Allows exclusion of large files from being cached. By default all files
    ' C5 _) O% T' U
  1972. ; are cached.
    8 P6 I4 r7 `  h' [% C
  1973. ;opcache.max_file_size=0
    + h; L7 U( m) u4 E
  1974. 4 z6 @+ Y  M+ c. z3 A7 f" r- C. g$ V
  1975. ; Check the cache checksum each N requests.0 ]* ]3 a+ V  M3 H
  1976. ; The default value of "0" means that the checks are disabled.0 c# O( {4 l& B5 Z
  1977. ;opcache.consistency_checks=0
    . I* d8 |$ w. R. X- S' W  z

  1978. ) H/ I0 A- @; d) r  \
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache' u8 t- S& [+ D' M% _7 e
  1980. ; is not being accessed.% z/ e/ K" e* e, P: Q  X  P
  1981. ;opcache.force_restart_timeout=180: K0 C! f( Y, k* E+ f9 }1 ~
  1982. 6 E) [- z8 I+ A
  1983. ; OPcache error_log file name. Empty string assumes "stderr".3 n/ _9 `: x' w' u, `5 e
  1984. ;opcache.error_log=
    6 I* A/ R3 [7 I6 W
  1985. $ q% |+ q, t1 v, D- B0 A  w
  1986. ; All OPcache errors go to the Web server log.) K6 Z9 j5 [! K" F/ h1 A: u2 y
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.' f2 a  W5 E) z& F
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
      d8 |5 l) F: R8 R9 M5 c
  1989. ; debug messages (level 4).
    * f  e  [3 H! L$ X  K% }
  1990. ;opcache.log_verbosity_level=1
    0 @* m0 j: B0 B6 d5 s5 G
  1991. 9 t/ ?2 Z; \% y7 ?' ?3 {
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.! [! M$ b' W; Q: p3 O2 h
  1993. ;opcache.preferred_memory_model=
    ) Z" S; Y/ Z' u7 `- t( p0 T: K
  1994. 2 [# ]$ t8 |' q: m# e: _+ B; |6 d7 `
  1995. ; Protect the shared memory from unexpected writing during script execution.
    + l7 y0 C% J* q0 y
  1996. ; Useful for internal debugging only.
    6 E9 U" t; }% K7 ]0 U
  1997. ;opcache.protect_memory=0
    & a5 {8 x; @  T9 K6 I3 G

  1998. & T: y9 o4 u; @( f) k
  1999. ; Validate cached file permissions.: ~: A: P; ^! \8 J
  2000. ; opcache.validate_permission=01 d1 I/ L; S8 Q7 f2 B

  2001. : r: |6 }0 z( l) `
  2002. ; Prevent name collisions in chroot'ed environment.
    - s& }. ^5 u  j) R
  2003. ; opcache.validate_root=0
    ' i7 d8 `  N5 ]$ ?. d, p

  2004. 3 }5 l, `, X9 z, _+ S4 n1 }
  2005. [curl]  Z/ A: o0 a' H1 z: d# Z
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    1 C& @! B; E: V& d- ^3 {# S
  2007. ; absolute path.
    6 a4 n5 f- k. t( {4 _* ^5 I
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    . h8 R1 t/ @7 w9 k# l
  2009. ) p- D/ z, @9 c5 d& e# c
  2010. [openssl], n, X8 S2 N1 D* u
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem( z* C% X9 p! j) u" t+ \$ S
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should2 ?( }& J0 H* R: ~2 s1 K' T
  2013. ; not specify a value for this directive as PHP will attempt to use the
    5 \& Z/ U3 U$ x
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ) l9 I" V6 b$ a
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    & m$ T2 G) P8 x$ a6 k/ r1 U/ Z
  2016. ; option.
    / Z2 S8 K& D- l$ E* [% [2 S+ n
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    1 ?) m7 |8 D" Z3 o
  2018. 2 T4 {3 f" f! s. s; G# [, j- K
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the1 Q7 @; r6 G% U9 \2 t* _7 v6 H
  2020. ; directory pointed to by openssl.capath is searched for a suitable1 U* N% _8 H( K# G- f* K: c
  2021. ; certificate. This value must be a correctly hashed certificate directory.2 d0 D- c) A3 g/ d' ?8 F! U% V) I
  2022. ; Most users should not specify a value for this directive as PHP will; ]1 p# B2 W4 z* O, y
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,0 ^/ j5 s1 k: z( ]& F
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    5 V4 _* c: |& q6 U
  2025. ; SSL stream context option.* |- }0 X4 |, X# B2 t
  2026. ;openssl.capath=1 a) _+ q: r9 w
  2027. 8 V$ @( u3 `$ f# X
  2028. ; Local Variables:( T4 m: y6 K& S7 Q* v1 k4 x$ |
  2029. ; tab-width: 4: w! m) ^2 S4 z5 Q) y2 s
  2030. ; End:/ h3 l+ E% _6 w+ I$ }
  2031. 3 W% Y8 j. I8 q6 r- _! ^0 M9 v, D+ l
  2032. ;eaccelerator' D+ ~& O5 z+ ]8 g) h' [* b) e' w7 C
  2033. 2 u6 `  i4 i# O
  2034. ;ionCube
    8 W- h- E: y9 A" u& H$ h' O
  2035. $ P9 J# a2 m! ^" d3 V- d
  2036. ;opcache
    6 E& F+ s! S! ?4 K

  2037. ( W. I! d9 R$ w' u3 [& u
  2038. [Zend ZendGuard Loader]
    # X# y: \" o/ ^. q% W# q
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    4 I/ \: F7 J; E0 f1 A/ ]' e
  2040. zend_loader.enable=1. O4 C" ~" M0 r% H
  2041. zend_loader.disable_licensing=0$ d/ d' Y. X$ Y
  2042. zend_loader.obfuscation_level_support=3
    ( s% Z. k6 i0 m! j* i
  2043. zend_loader.license_path=
    ! Q. [# |9 c0 a. k0 B8 t& m9 ?* m
  2044. ! b) b0 D/ Y* j3 o" Z
  2045. ;xcache8 _4 @: J8 a& p$ j0 i
  2046. 1 ]3 g; ^( ]- m: e7 d5 u; k
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
" x" q! B2 k& B+ \& C; i# j, p* r8 g$ n/ D: ]
" V, P! |  J/ ?% D
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,9 ~* a8 o6 o1 U2 s/ |

, R9 E1 r: S8 [9 d/ K; W; o/ L( YDiscuz!程序版本选择:2 @& B$ q5 _+ d$ s
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
" F2 U' B5 M( Y/ H, W% m. G不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:4 `6 K+ d4 B7 O: |
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。) i; L* a& h+ k, I; }0 C* ]; D8 A

2 V* T, V9 b: U1 ?6 ?  G  K8 }, rDiscuz!插件模板版本选择:
" r; [% T% u" C! Q& R; t很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
3 k/ c& Q: y# n- z6 U' R  T针对这个问题做个统一的普及:
& L# C  \4 [) E) cX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
+ r% T6 O7 P4 Z$ I* m) I$ M
6 [6 Y0 R0 \  R' _6 N4 o4 \所以
+ q: e( r$ s; D1 A适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
7 L* `& h) \1 x3 i* u打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
- i( j" v& C; L* `注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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