php.ini.j2 72 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977
  1. [PHP]
  2. ;;;;;;;;;;;;;;;;;;;
  3. ; About php.ini ;
  4. ;;;;;;;;;;;;;;;;;;;
  5. ; PHP's initialization file, generally called php.ini, is responsible for
  6. ; configuring many of the aspects of PHP's behavior.
  7. ; PHP attempts to find and load this configuration from a number of locations.
  8. ; The following is a summary of its search order:
  9. ; 1. SAPI module specific location.
  10. ; 2. The PHPRC environment variable.
  11. ; 3. A number of predefined registry keys on Windows
  12. ; 4. Current working directory (except CLI)
  13. ; 5. The web server's directory (for SAPI modules), or directory of PHP
  14. ; (otherwise in Windows)
  15. ; 6. The directory from the --with-config-file-path compile time option, or the
  16. ; Windows directory (usually C:\windows)
  17. ; See the PHP docs for more specific information.
  18. ; https://php.net/configuration.file
  19. ; The syntax of the file is extremely simple. Whitespace and lines
  20. ; beginning with a semicolon are silently ignored (as you probably guessed).
  21. ; Section headers (e.g. [Foo]) are also silently ignored, even though
  22. ; they might mean something in the future.
  23. ; Directives following the section heading [PATH=/www/mysite] only
  24. ; apply to PHP files in the /www/mysite directory. Directives
  25. ; following the section heading [HOST=www.example.com] only apply to
  26. ; PHP files served from www.example.com. Directives set in these
  27. ; special sections cannot be overridden by user-defined INI files or
  28. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
  29. ; CGI/FastCGI.
  30. ; https://php.net/ini.sections
  31. ; Directives are specified using the following syntax:
  32. ; directive = value
  33. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
  34. ; Directives are variables used to configure PHP or PHP extensions.
  35. ; There is no name validation. If PHP can't find an expected
  36. ; directive because it is not set or is mistyped, a default value will be used.
  37. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
  38. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
  39. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
  40. ; previously set variable or directive (e.g. ${foo})
  41. ; Expressions in the INI file are limited to bitwise operators and parentheses:
  42. ; | bitwise OR
  43. ; ^ bitwise XOR
  44. ; & bitwise AND
  45. ; ~ bitwise NOT
  46. ; ! boolean NOT
  47. ; Boolean flags can be turned on using the values 1, On, True or Yes.
  48. ; They can be turned off using the values 0, Off, False or No.
  49. ; An empty string can be denoted by simply not writing anything after the equal
  50. ; sign, or by using the None keyword:
  51. ; foo = ; sets foo to an empty string
  52. ; foo = None ; sets foo to an empty string
  53. ; foo = "None" ; sets foo to the string 'None'
  54. ; If you use constants in your value, and these constants belong to a
  55. ; dynamically loaded extension (either a PHP extension or a Zend extension),
  56. ; you may only use these constants *after* the line that loads the extension.
  57. ;;;;;;;;;;;;;;;;;;;
  58. ; About this file ;
  59. ;;;;;;;;;;;;;;;;;;;
  60. ; PHP comes packaged with two INI files. One that is recommended to be used
  61. ; in production environments and one that is recommended to be used in
  62. ; development environments.
  63. ; php.ini-production contains settings which hold security, performance and
  64. ; best practices at its core. But please be aware, these settings may break
  65. ; compatibility with older or less security conscience applications. We
  66. ; recommending using the production ini in production and testing environments.
  67. ; php.ini-development is very similar to its production variant, except it is
  68. ; much more verbose when it comes to errors. We recommend using the
  69. ; development version only in development environments, as errors shown to
  70. ; application users can inadvertently leak otherwise secure information.
  71. ; This is the php.ini-production INI file.
  72. ;;;;;;;;;;;;;;;;;;;
  73. ; Quick Reference ;
  74. ;;;;;;;;;;;;;;;;;;;
  75. ; The following are all the settings which are different in either the production
  76. ; or development versions of the INIs with respect to PHP's default behavior.
  77. ; Please see the actual settings later in the document for more details as to why
  78. ; we recommend these changes in PHP's behavior.
  79. ; display_errors
  80. ; Default Value: On
  81. ; Development Value: On
  82. ; Production Value: Off
  83. ; display_startup_errors
  84. ; Default Value: On
  85. ; Development Value: On
  86. ; Production Value: Off
  87. ; error_reporting
  88. ; Default Value: E_ALL
  89. ; Development Value: E_ALL
  90. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
  91. ; log_errors
  92. ; Default Value: Off
  93. ; Development Value: On
  94. ; Production Value: On
  95. ; max_input_time
  96. ; Default Value: -1 (Unlimited)
  97. ; Development Value: 60 (60 seconds)
  98. ; Production Value: 60 (60 seconds)
  99. ; output_buffering
  100. ; Default Value: Off
  101. ; Development Value: 4096
  102. ; Production Value: 4096
  103. ; register_argc_argv
  104. ; Default Value: On
  105. ; Development Value: Off
  106. ; Production Value: Off
  107. ; request_order
  108. ; Default Value: None
  109. ; Development Value: "GP"
  110. ; Production Value: "GP"
  111. ; session.gc_divisor
  112. ; Default Value: 100
  113. ; Development Value: 1000
  114. ; Production Value: 1000
  115. ; session.sid_bits_per_character
  116. ; Default Value: 4
  117. ; Development Value: 5
  118. ; Production Value: 5
  119. ; short_open_tag
  120. ; Default Value: On
  121. ; Development Value: Off
  122. ; Production Value: Off
  123. ; variables_order
  124. ; Default Value: "EGPCS"
  125. ; Development Value: "GPCS"
  126. ; Production Value: "GPCS"
  127. ; zend.exception_ignore_args
  128. ; Default Value: Off
  129. ; Development Value: Off
  130. ; Production Value: On
  131. ; zend.exception_string_param_max_len
  132. ; Default Value: 15
  133. ; Development Value: 15
  134. ; Production Value: 0
  135. ;;;;;;;;;;;;;;;;;;;;
  136. ; php.ini Options ;
  137. ;;;;;;;;;;;;;;;;;;;;
  138. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
  139. ;user_ini.filename = ".user.ini"
  140. ; To disable this feature set this option to an empty value
  141. ;user_ini.filename =
  142. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
  143. ;user_ini.cache_ttl = 300
  144. ;;;;;;;;;;;;;;;;;;;;
  145. ; Language Options ;
  146. ;;;;;;;;;;;;;;;;;;;;
  147. ; Enable the PHP scripting language engine under Apache.
  148. ; https://php.net/engine
  149. engine = On
  150. ; This directive determines whether or not PHP will recognize code between
  151. ; <? and ?> tags as PHP source which should be processed as such. It is
  152. ; generally recommended that <?php and ?> should be used and that this feature
  153. ; should be disabled, as enabling it may result in issues when generating XML
  154. ; documents, however this remains supported for backward compatibility reasons.
  155. ; Note that this directive does not control the <?= shorthand tag, which can be
  156. ; used regardless of this directive.
  157. ; Default Value: On
  158. ; Development Value: Off
  159. ; Production Value: Off
  160. ; https://php.net/short-open-tag
  161. short_open_tag = Off
  162. ; The number of significant digits displayed in floating point numbers.
  163. ; https://php.net/precision
  164. precision = 14
  165. ; Output buffering is a mechanism for controlling how much output data
  166. ; (excluding headers and cookies) PHP should keep internally before pushing that
  167. ; data to the client. If your application's output exceeds this setting, PHP
  168. ; will send that data in chunks of roughly the size you specify.
  169. ; Turning on this setting and managing its maximum buffer size can yield some
  170. ; interesting side-effects depending on your application and web server.
  171. ; You may be able to send headers and cookies after you've already sent output
  172. ; through print or echo. You also may see performance benefits if your server is
  173. ; emitting less packets due to buffered output versus PHP streaming the output
  174. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
  175. ; reasons.
  176. ; Note: Output buffering can also be controlled via Output Buffering Control
  177. ; functions.
  178. ; Possible Values:
  179. ; On = Enabled and buffer is unlimited. (Use with caution)
  180. ; Off = Disabled
  181. ; Integer = Enables the buffer and sets its maximum size in bytes.
  182. ; Note: This directive is hardcoded to Off for the CLI SAPI
  183. ; Default Value: Off
  184. ; Development Value: 4096
  185. ; Production Value: 4096
  186. ; https://php.net/output-buffering
  187. output_buffering = 4096
  188. ; You can redirect all of the output of your scripts to a function. For
  189. ; example, if you set output_handler to "mb_output_handler", character
  190. ; encoding will be transparently converted to the specified encoding.
  191. ; Setting any output handler automatically turns on output buffering.
  192. ; Note: People who wrote portable scripts should not depend on this ini
  193. ; directive. Instead, explicitly set the output handler using ob_start().
  194. ; Using this ini directive may cause problems unless you know what script
  195. ; is doing.
  196. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  197. ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
  198. ; Note: output_handler must be empty if this is set 'On' !!!!
  199. ; Instead you must use zlib.output_handler.
  200. ; https://php.net/output-handler
  201. ;output_handler =
  202. ; URL rewriter function rewrites URL on the fly by using
  203. ; output buffer. You can set target tags by this configuration.
  204. ; "form" tag is special tag. It will add hidden input tag to pass values.
  205. ; Refer to session.trans_sid_tags for usage.
  206. ; Default Value: "form="
  207. ; Development Value: "form="
  208. ; Production Value: "form="
  209. ;url_rewriter.tags
  210. ; URL rewriter will not rewrite absolute URL nor form by default. To enable
  211. ; absolute URL rewrite, allowed hosts must be defined at RUNTIME.
  212. ; Refer to session.trans_sid_hosts for more details.
  213. ; Default Value: ""
  214. ; Development Value: ""
  215. ; Production Value: ""
  216. ;url_rewriter.hosts
  217. ; Transparent output compression using the zlib library
  218. ; Valid values for this option are 'off', 'on', or a specific buffer size
  219. ; to be used for compression (default is 4KB)
  220. ; Note: Resulting chunk size may vary due to nature of compression. PHP
  221. ; outputs chunks that are few hundreds bytes each as a result of
  222. ; compression. If you prefer a larger chunk size for better
  223. ; performance, enable output_buffering in addition.
  224. ; Note: You need to use zlib.output_handler instead of the standard
  225. ; output_handler, or otherwise the output will be corrupted.
  226. ; https://php.net/zlib.output-compression
  227. zlib.output_compression = Off
  228. ; https://php.net/zlib.output-compression-level
  229. ;zlib.output_compression_level = -1
  230. ; You cannot specify additional output handlers if zlib.output_compression
  231. ; is activated here. This setting does the same as output_handler but in
  232. ; a different order.
  233. ; https://php.net/zlib.output-handler
  234. ;zlib.output_handler =
  235. ; Implicit flush tells PHP to tell the output layer to flush itself
  236. ; automatically after every output block. This is equivalent to calling the
  237. ; PHP function flush() after each and every call to print() or echo() and each
  238. ; and every HTML block. Turning this option on has serious performance
  239. ; implications and is generally recommended for debugging purposes only.
  240. ; https://php.net/implicit-flush
  241. ; Note: This directive is hardcoded to On for the CLI SAPI
  242. implicit_flush = Off
  243. ; The unserialize callback function will be called (with the undefined class'
  244. ; name as parameter), if the unserializer finds an undefined class
  245. ; which should be instantiated. A warning appears if the specified function is
  246. ; not defined, or if the function doesn't include/implement the missing class.
  247. ; So only set this entry, if you really want to implement such a
  248. ; callback-function.
  249. unserialize_callback_func =
  250. ; The unserialize_max_depth specifies the default depth limit for unserialized
  251. ; structures. Setting the depth limit too high may result in stack overflows
  252. ; during unserialization. The unserialize_max_depth ini setting can be
  253. ; overridden by the max_depth option on individual unserialize() calls.
  254. ; A value of 0 disables the depth limit.
  255. ;unserialize_max_depth = 4096
  256. ; When floats & doubles are serialized, store serialize_precision significant
  257. ; digits after the floating point. The default value ensures that when floats
  258. ; are decoded with unserialize, the data will remain the same.
  259. ; The value is also used for json_encode when encoding double values.
  260. ; If -1 is used, then dtoa mode 0 is used which automatically select the best
  261. ; precision.
  262. serialize_precision = -1
  263. ; open_basedir, if set, limits all file operations to the defined directory
  264. ; and below. This directive makes most sense if used in a per-directory
  265. ; or per-virtualhost web server configuration file.
  266. ; Note: disables the realpath cache
  267. ; https://php.net/open-basedir
  268. ;open_basedir =
  269. ; This directive allows you to disable certain functions.
  270. ; It receives a comma-delimited list of function names.
  271. ; https://php.net/disable-functions
  272. disable_functions =
  273. ; This directive allows you to disable certain classes.
  274. ; It receives a comma-delimited list of class names.
  275. ; https://php.net/disable-classes
  276. disable_classes =
  277. ; Colors for Syntax Highlighting mode. Anything that's acceptable in
  278. ; <span style="color: ???????"> would work.
  279. ; https://php.net/syntax-highlighting
  280. ;highlight.string = #DD0000
  281. ;highlight.comment = #FF9900
  282. ;highlight.keyword = #007700
  283. ;highlight.default = #0000BB
  284. ;highlight.html = #000000
  285. ; If enabled, the request will be allowed to complete even if the user aborts
  286. ; the request. Consider enabling it if executing long requests, which may end up
  287. ; being interrupted by the user or a browser timing out. PHP's default behavior
  288. ; is to disable this feature.
  289. ; https://php.net/ignore-user-abort
  290. ;ignore_user_abort = On
  291. ; Determines the size of the realpath cache to be used by PHP. This value should
  292. ; be increased on systems where PHP opens many files to reflect the quantity of
  293. ; the file operations performed.
  294. ; Note: if open_basedir is set, the cache is disabled
  295. ; https://php.net/realpath-cache-size
  296. ;realpath_cache_size = 4096k
  297. ; Duration of time, in seconds for which to cache realpath information for a given
  298. ; file or directory. For systems with rarely changing files, consider increasing this
  299. ; value.
  300. ; https://php.net/realpath-cache-ttl
  301. ;realpath_cache_ttl = 120
  302. ; Enables or disables the circular reference collector.
  303. ; https://php.net/zend.enable-gc
  304. zend.enable_gc = On
  305. ; If enabled, scripts may be written in encodings that are incompatible with
  306. ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
  307. ; encodings. To use this feature, mbstring extension must be enabled.
  308. ;zend.multibyte = Off
  309. ; Allows to set the default encoding for the scripts. This value will be used
  310. ; unless "declare(encoding=...)" directive appears at the top of the script.
  311. ; Only affects if zend.multibyte is set.
  312. ;zend.script_encoding =
  313. ; Allows to include or exclude arguments from stack traces generated for exceptions.
  314. ; In production, it is recommended to turn this setting on to prohibit the output
  315. ; of sensitive information in stack traces
  316. ; Default Value: Off
  317. ; Development Value: Off
  318. ; Production Value: On
  319. zend.exception_ignore_args = On
  320. ; Allows setting the maximum string length in an argument of a stringified stack trace
  321. ; to a value between 0 and 1000000.
  322. ; This has no effect when zend.exception_ignore_args is enabled.
  323. ; Default Value: 15
  324. ; Development Value: 15
  325. ; Production Value: 0
  326. ; In production, it is recommended to set this to 0 to reduce the output
  327. ; of sensitive information in stack traces.
  328. zend.exception_string_param_max_len = 0
  329. ;;;;;;;;;;;;;;;;;
  330. ; Miscellaneous ;
  331. ;;;;;;;;;;;;;;;;;
  332. ; Decides whether PHP may expose the fact that it is installed on the server
  333. ; (e.g. by adding its signature to the Web server header). It is no security
  334. ; threat in any way, but it makes it possible to determine whether you use PHP
  335. ; on your server or not.
  336. ; https://php.net/expose-php
  337. expose_php = Off
  338. ;;;;;;;;;;;;;;;;;;;
  339. ; Resource Limits ;
  340. ;;;;;;;;;;;;;;;;;;;
  341. ; Maximum execution time of each script, in seconds
  342. ; https://php.net/max-execution-time
  343. ; Note: This directive is hardcoded to 0 for the CLI SAPI
  344. max_execution_time = 30
  345. ; Maximum amount of time each script may spend parsing request data. It's a good
  346. ; idea to limit this time on productions servers in order to eliminate unexpectedly
  347. ; long running scripts.
  348. ; Note: This directive is hardcoded to -1 for the CLI SAPI
  349. ; Default Value: -1 (Unlimited)
  350. ; Development Value: 60 (60 seconds)
  351. ; Production Value: 60 (60 seconds)
  352. ; https://php.net/max-input-time
  353. max_input_time = 60
  354. ; Maximum input variable nesting level
  355. ; https://php.net/max-input-nesting-level
  356. ;max_input_nesting_level = 64
  357. ; How many GET/POST/COOKIE input variables may be accepted
  358. ;max_input_vars = 1000
  359. ; How many multipart body parts (combined input variable and file uploads) may
  360. ; be accepted.
  361. ; Default Value: -1 (Sum of max_input_vars and max_file_uploads)
  362. ;max_multipart_body_parts = 1500
  363. ; Maximum amount of memory a script may consume
  364. ; https://php.net/memory-limit
  365. memory_limit = 256M
  366. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  367. ; Error handling and logging ;
  368. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  369. ; This directive informs PHP of which errors, warnings and notices you would like
  370. ; it to take action for. The recommended way of setting values for this
  371. ; directive is through the use of the error level constants and bitwise
  372. ; operators. The error level constants are below here for convenience as well as
  373. ; some common settings and their meanings.
  374. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
  375. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
  376. ; recommended coding standards in PHP. For performance reasons, this is the
  377. ; recommend error reporting setting. Your production server shouldn't be wasting
  378. ; resources complaining about best practices and coding standards. That's what
  379. ; development servers and development settings are for.
  380. ; Note: The php.ini-development file has this setting as E_ALL. This
  381. ; means it pretty much reports everything which is exactly what you want during
  382. ; development and early testing.
  383. ;
  384. ; Error Level Constants:
  385. ; E_ALL - All errors and warnings
  386. ; E_ERROR - fatal run-time errors
  387. ; E_RECOVERABLE_ERROR - almost fatal run-time errors
  388. ; E_WARNING - run-time warnings (non-fatal errors)
  389. ; E_PARSE - compile-time parse errors
  390. ; E_NOTICE - run-time notices (these are warnings which often result
  391. ; from a bug in your code, but it's possible that it was
  392. ; intentional (e.g., using an uninitialized variable and
  393. ; relying on the fact it is automatically initialized to an
  394. ; empty string)
  395. ; E_STRICT - run-time notices, enable to have PHP suggest changes
  396. ; to your code which will ensure the best interoperability
  397. ; and forward compatibility of your code
  398. ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
  399. ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
  400. ; initial startup
  401. ; E_COMPILE_ERROR - fatal compile-time errors
  402. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  403. ; E_USER_ERROR - user-generated error message
  404. ; E_USER_WARNING - user-generated warning message
  405. ; E_USER_NOTICE - user-generated notice message
  406. ; E_DEPRECATED - warn about code that will not work in future versions
  407. ; of PHP
  408. ; E_USER_DEPRECATED - user-generated deprecation warnings
  409. ;
  410. ; Common Values:
  411. ; E_ALL (Show all errors, warnings and notices including coding standards.)
  412. ; E_ALL & ~E_NOTICE (Show all errors, except for notices)
  413. ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
  414. ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
  415. ; Default Value: E_ALL
  416. ; Development Value: E_ALL
  417. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
  418. ; https://php.net/error-reporting
  419. error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
  420. ; This directive controls whether or not and where PHP will output errors,
  421. ; notices and warnings too. Error output is very useful during development, but
  422. ; it could be very dangerous in production environments. Depending on the code
  423. ; which is triggering the error, sensitive information could potentially leak
  424. ; out of your application such as database usernames and passwords or worse.
  425. ; For production environments, we recommend logging errors rather than
  426. ; sending them to STDOUT.
  427. ; Possible Values:
  428. ; Off = Do not display any errors
  429. ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
  430. ; On or stdout = Display errors to STDOUT
  431. ; Default Value: On
  432. ; Development Value: On
  433. ; Production Value: Off
  434. ; https://php.net/display-errors
  435. display_errors = Off
  436. ; The display of errors which occur during PHP's startup sequence are handled
  437. ; separately from display_errors. We strongly recommend you set this to 'off'
  438. ; for production servers to avoid leaking configuration details.
  439. ; Default Value: On
  440. ; Development Value: On
  441. ; Production Value: Off
  442. ; https://php.net/display-startup-errors
  443. display_startup_errors = Off
  444. ; Besides displaying errors, PHP can also log errors to locations such as a
  445. ; server-specific log, STDERR, or a location specified by the error_log
  446. ; directive found below. While errors should not be displayed on productions
  447. ; servers they should still be monitored and logging is a great way to do that.
  448. ; Default Value: Off
  449. ; Development Value: On
  450. ; Production Value: On
  451. ; https://php.net/log-errors
  452. log_errors = On
  453. ; Do not log repeated messages. Repeated errors must occur in same file on same
  454. ; line unless ignore_repeated_source is set true.
  455. ; https://php.net/ignore-repeated-errors
  456. ignore_repeated_errors = Off
  457. ; Ignore source of message when ignoring repeated messages. When this setting
  458. ; is On you will not log errors with repeated messages from different files or
  459. ; source lines.
  460. ; https://php.net/ignore-repeated-source
  461. ignore_repeated_source = Off
  462. ; If this parameter is set to Off, then memory leaks will not be shown (on
  463. ; stdout or in the log). This is only effective in a debug compile, and if
  464. ; error reporting includes E_WARNING in the allowed list
  465. ; https://php.net/report-memleaks
  466. report_memleaks = On
  467. ; This setting is off by default.
  468. ;report_zend_debug = 0
  469. ; Turn off normal error reporting and emit XML-RPC error XML
  470. ; https://php.net/xmlrpc-errors
  471. ;xmlrpc_errors = 0
  472. ; An XML-RPC faultCode
  473. ;xmlrpc_error_number = 0
  474. ; When PHP displays or logs an error, it has the capability of formatting the
  475. ; error message as HTML for easier reading. This directive controls whether
  476. ; the error message is formatted as HTML or not.
  477. ; Note: This directive is hardcoded to Off for the CLI SAPI
  478. ; https://php.net/html-errors
  479. ;html_errors = On
  480. ; If html_errors is set to On *and* docref_root is not empty, then PHP
  481. ; produces clickable error messages that direct to a page describing the error
  482. ; or function causing the error in detail.
  483. ; You can download a copy of the PHP manual from https://php.net/docs
  484. ; and change docref_root to the base URL of your local copy including the
  485. ; leading '/'. You must also specify the file extension being used including
  486. ; the dot. PHP's default behavior is to leave these settings empty, in which
  487. ; case no links to documentation are generated.
  488. ; Note: Never use this feature for production boxes.
  489. ; https://php.net/docref-root
  490. ; Examples
  491. ;docref_root = "/phpmanual/"
  492. ; https://php.net/docref-ext
  493. ;docref_ext = .html
  494. ; String to output before an error message. PHP's default behavior is to leave
  495. ; this setting blank.
  496. ; https://php.net/error-prepend-string
  497. ; Example:
  498. ;error_prepend_string = "<span style='color: #ff0000'>"
  499. ; String to output after an error message. PHP's default behavior is to leave
  500. ; this setting blank.
  501. ; https://php.net/error-append-string
  502. ; Example:
  503. ;error_append_string = "</span>"
  504. ; Log errors to specified file. PHP's default behavior is to leave this value
  505. ; empty.
  506. ; https://php.net/error-log
  507. ; Example:
  508. ;error_log = php_errors.log
  509. ; Log errors to syslog (Event Log on Windows).
  510. ;error_log = syslog
  511. ; The syslog ident is a string which is prepended to every message logged
  512. ; to syslog. Only used when error_log is set to syslog.
  513. ;syslog.ident = php
  514. ; The syslog facility is used to specify what type of program is logging
  515. ; the message. Only used when error_log is set to syslog.
  516. ;syslog.facility = user
  517. ; Set this to disable filtering control characters (the default).
  518. ; Some loggers only accept NVT-ASCII, others accept anything that's not
  519. ; control characters. If your logger accepts everything, then no filtering
  520. ; is needed at all.
  521. ; Allowed values are:
  522. ; ascii (all printable ASCII characters and NL)
  523. ; no-ctrl (all characters except control characters)
  524. ; all (all characters)
  525. ; raw (like "all", but messages are not split at newlines)
  526. ; https://php.net/syslog.filter
  527. ;syslog.filter = ascii
  528. ;windows.show_crt_warning
  529. ; Default value: 0
  530. ; Development value: 0
  531. ; Production value: 0
  532. ;;;;;;;;;;;;;;;;;
  533. ; Data Handling ;
  534. ;;;;;;;;;;;;;;;;;
  535. ; The separator used in PHP generated URLs to separate arguments.
  536. ; PHP's default setting is "&".
  537. ; https://php.net/arg-separator.output
  538. ; Example:
  539. ;arg_separator.output = "&amp;"
  540. ; List of separator(s) used by PHP to parse input URLs into variables.
  541. ; PHP's default setting is "&".
  542. ; NOTE: Every character in this directive is considered as separator!
  543. ; https://php.net/arg-separator.input
  544. ; Example:
  545. ;arg_separator.input = ";&"
  546. ; This directive determines which super global arrays are registered when PHP
  547. ; starts up. G,P,C,E & S are abbreviations for the following respective super
  548. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
  549. ; paid for the registration of these arrays and because ENV is not as commonly
  550. ; used as the others, ENV is not recommended on productions servers. You
  551. ; can still get access to the environment variables through getenv() should you
  552. ; need to.
  553. ; Default Value: "EGPCS"
  554. ; Development Value: "GPCS"
  555. ; Production Value: "GPCS";
  556. ; https://php.net/variables-order
  557. variables_order = "GPCS"
  558. ; This directive determines which super global data (G,P & C) should be
  559. ; registered into the super global array REQUEST. If so, it also determines
  560. ; the order in which that data is registered. The values for this directive
  561. ; are specified in the same manner as the variables_order directive,
  562. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
  563. ; in the variables_order directive. It does not mean it will leave the super
  564. ; globals array REQUEST empty.
  565. ; Default Value: None
  566. ; Development Value: "GP"
  567. ; Production Value: "GP"
  568. ; https://php.net/request-order
  569. request_order = "GP"
  570. ; This directive determines whether PHP registers $argv & $argc each time it
  571. ; runs. $argv contains an array of all the arguments passed to PHP when a script
  572. ; is invoked. $argc contains an integer representing the number of arguments
  573. ; that were passed when the script was invoked. These arrays are extremely
  574. ; useful when running scripts from the command line. When this directive is
  575. ; enabled, registering these variables consumes CPU cycles and memory each time
  576. ; a script is executed. For performance reasons, this feature should be disabled
  577. ; on production servers.
  578. ; Note: This directive is hardcoded to On for the CLI SAPI
  579. ; Default Value: On
  580. ; Development Value: Off
  581. ; Production Value: Off
  582. ; https://php.net/register-argc-argv
  583. register_argc_argv = Off
  584. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
  585. ; first used (Just In Time) instead of when the script starts. If these
  586. ; variables are not used within a script, having this directive on will result
  587. ; in a performance gain. The PHP directive register_argc_argv must be disabled
  588. ; for this directive to have any effect.
  589. ; https://php.net/auto-globals-jit
  590. auto_globals_jit = On
  591. ; Whether PHP will read the POST data.
  592. ; This option is enabled by default.
  593. ; Most likely, you won't want to disable this option globally. It causes $_POST
  594. ; and $_FILES to always be empty; the only way you will be able to read the
  595. ; POST data will be through the php://input stream wrapper. This can be useful
  596. ; to proxy requests or to process the POST data in a memory efficient fashion.
  597. ; https://php.net/enable-post-data-reading
  598. ;enable_post_data_reading = Off
  599. ; Maximum size of POST data that PHP will accept.
  600. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
  601. ; is disabled through enable_post_data_reading.
  602. ; https://php.net/post-max-size
  603. post_max_size = 8M
  604. ; Automatically add files before PHP document.
  605. ; https://php.net/auto-prepend-file
  606. auto_prepend_file =
  607. ; Automatically add files after PHP document.
  608. ; https://php.net/auto-append-file
  609. auto_append_file =
  610. ; By default, PHP will output a media type using the Content-Type header. To
  611. ; disable this, simply set it to be empty.
  612. ;
  613. ; PHP's built-in default media type is set to text/html.
  614. ; https://php.net/default-mimetype
  615. default_mimetype = "text/html"
  616. ; PHP's default character set is set to UTF-8.
  617. ; https://php.net/default-charset
  618. default_charset = "UTF-8"
  619. ; PHP internal character encoding is set to empty.
  620. ; If empty, default_charset is used.
  621. ; https://php.net/internal-encoding
  622. ;internal_encoding =
  623. ; PHP input character encoding is set to empty.
  624. ; If empty, default_charset is used.
  625. ; https://php.net/input-encoding
  626. ;input_encoding =
  627. ; PHP output character encoding is set to empty.
  628. ; If empty, default_charset is used.
  629. ; See also output_buffer.
  630. ; https://php.net/output-encoding
  631. ;output_encoding =
  632. ;;;;;;;;;;;;;;;;;;;;;;;;;
  633. ; Paths and Directories ;
  634. ;;;;;;;;;;;;;;;;;;;;;;;;;
  635. ; UNIX: "/path1:/path2"
  636. ;include_path = ".:/usr/share/php"
  637. ;
  638. ; Windows: "\path1;\path2"
  639. ;include_path = ".;c:\php\includes"
  640. ;
  641. ; PHP's default setting for include_path is ".;/path/to/php/pear"
  642. ; https://php.net/include-path
  643. ; The root of the PHP pages, used only if nonempty.
  644. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  645. ; if you are running php as a CGI under any web server (other than IIS)
  646. ; see documentation for security issues. The alternate is to use the
  647. ; cgi.force_redirect configuration below
  648. ; https://php.net/doc-root
  649. doc_root =
  650. ; The directory under which PHP opens the script using /~username used only
  651. ; if nonempty.
  652. ; https://php.net/user-dir
  653. user_dir =
  654. ; Directory in which the loadable extensions (modules) reside.
  655. ; https://php.net/extension-dir
  656. ;extension_dir = "./"
  657. ; On windows:
  658. ;extension_dir = "ext"
  659. ; Directory where the temporary files should be placed.
  660. ; Defaults to the system default (see sys_get_temp_dir)
  661. ;sys_temp_dir = "/tmp"
  662. ; Whether or not to enable the dl() function. The dl() function does NOT work
  663. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  664. ; disabled on them.
  665. ; https://php.net/enable-dl
  666. enable_dl = Off
  667. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  668. ; most web servers. Left undefined, PHP turns this on by default. You can
  669. ; turn it off here AT YOUR OWN RISK
  670. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  671. ; https://php.net/cgi.force-redirect
  672. ;cgi.force_redirect = 1
  673. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  674. ; every request. PHP's default behavior is to disable this feature.
  675. ;cgi.nph = 1
  676. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  677. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  678. ; will look for to know it is OK to continue execution. Setting this variable MAY
  679. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  680. ; https://php.net/cgi.redirect-status-env
  681. ;cgi.redirect_status_env =
  682. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
  683. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  684. ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
  685. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
  686. ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
  687. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  688. ; https://php.net/cgi.fix-pathinfo
  689. ;cgi.fix_pathinfo=1
  690. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
  691. ; of the web tree and people will not be able to circumvent .htaccess security.
  692. ;cgi.discard_path=1
  693. ; FastCGI under IIS supports the ability to impersonate
  694. ; security tokens of the calling client. This allows IIS to define the
  695. ; security context that the request runs under. mod_fastcgi under Apache
  696. ; does not currently support this feature (03/17/2002)
  697. ; Set to 1 if running under IIS. Default is zero.
  698. ; https://php.net/fastcgi.impersonate
  699. ;fastcgi.impersonate = 1
  700. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
  701. ; this feature.
  702. ;fastcgi.logging = 0
  703. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  704. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
  705. ; is supported by Apache. When this option is set to 1, PHP will send
  706. ; RFC2616 compliant header.
  707. ; Default is zero.
  708. ; https://php.net/cgi.rfc2616-headers
  709. ;cgi.rfc2616_headers = 0
  710. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
  711. ; (shebang) at the top of the running script. This line might be needed if the
  712. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
  713. ; mode skips this line and ignores its content if this directive is turned on.
  714. ; https://php.net/cgi.check-shebang-line
  715. ;cgi.check_shebang_line=1
  716. ;;;;;;;;;;;;;;;;
  717. ; File Uploads ;
  718. ;;;;;;;;;;;;;;;;
  719. ; Whether to allow HTTP file uploads.
  720. ; https://php.net/file-uploads
  721. file_uploads = On
  722. ; Temporary directory for HTTP uploaded files (will use system default if not
  723. ; specified).
  724. ; https://php.net/upload-tmp-dir
  725. ;upload_tmp_dir =
  726. ; Maximum allowed size for uploaded files.
  727. ; https://php.net/upload-max-filesize
  728. upload_max_filesize = 2M
  729. ; Maximum number of files that can be uploaded via a single request
  730. max_file_uploads = 20
  731. ;;;;;;;;;;;;;;;;;;
  732. ; Fopen wrappers ;
  733. ;;;;;;;;;;;;;;;;;;
  734. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  735. ; https://php.net/allow-url-fopen
  736. allow_url_fopen = On
  737. ; Whether to allow include/require to open URLs (like https:// or ftp://) as files.
  738. ; https://php.net/allow-url-include
  739. allow_url_include = Off
  740. ; Define the anonymous ftp password (your email address). PHP's default setting
  741. ; for this is empty.
  742. ; https://php.net/from
  743. ;from="john@doe.com"
  744. ; Define the User-Agent string. PHP's default setting for this is empty.
  745. ; https://php.net/user-agent
  746. ;user_agent="PHP"
  747. ; Default timeout for socket based streams (seconds)
  748. ; https://php.net/default-socket-timeout
  749. default_socket_timeout = 60
  750. ; If your scripts have to deal with files from Macintosh systems,
  751. ; or you are running on a Mac and need to deal with files from
  752. ; unix or win32 systems, setting this flag will cause PHP to
  753. ; automatically detect the EOL character in those files so that
  754. ; fgets() and file() will work regardless of the source of the file.
  755. ; https://php.net/auto-detect-line-endings
  756. ;auto_detect_line_endings = Off
  757. ;;;;;;;;;;;;;;;;;;;;;;
  758. ; Dynamic Extensions ;
  759. ;;;;;;;;;;;;;;;;;;;;;;
  760. ; If you wish to have an extension loaded automatically, use the following
  761. ; syntax:
  762. ;
  763. ; extension=modulename
  764. ;
  765. ; For example:
  766. ;
  767. ; extension=mysqli
  768. ;
  769. ; When the extension library to load is not located in the default extension
  770. ; directory, You may specify an absolute path to the library file:
  771. ;
  772. ; extension=/path/to/extension/mysqli.so
  773. ;
  774. ; Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
  775. ; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
  776. ; deprecated in a future PHP major version. So, when it is possible, please
  777. ; move to the new ('extension=<ext>) syntax.
  778. ;
  779. ; Notes for Windows environments :
  780. ;
  781. ; - Many DLL files are located in the ext/
  782. ; extension folders as well as the separate PECL DLL download.
  783. ; Be sure to appropriately set the extension_dir directive.
  784. ;
  785. ;extension=bz2
  786. ; The ldap extension must be before curl if OpenSSL 1.0.2 and OpenLDAP is used
  787. ; otherwise it results in segfault when unloading after using SASL.
  788. ; See https://github.com/php/php-src/issues/8620 for more info.
  789. ;extension=ldap
  790. ;extension=curl
  791. ;extension=ffi
  792. ;extension=ftp
  793. ;extension=fileinfo
  794. ;extension=gd
  795. ;extension=gettext
  796. ;extension=gmp
  797. ;extension=intl
  798. ;extension=imap
  799. ;extension=mbstring
  800. ;extension=exif ; Must be after mbstring as it depends on it
  801. ;extension=mysqli
  802. ;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
  803. ;extension=oci8_19 ; Use with Oracle Database 19 Instant Client
  804. ;extension=odbc
  805. ;extension=openssl
  806. ;extension=pdo_firebird
  807. ;extension=pdo_mysql
  808. ;extension=pdo_oci
  809. ;extension=pdo_odbc
  810. ;extension=pdo_pgsql
  811. ;extension=pdo_sqlite
  812. ;extension=pgsql
  813. ;extension=shmop
  814. ; The MIBS data available in the PHP distribution must be installed.
  815. ; See https://www.php.net/manual/en/snmp.installation.php
  816. ;extension=snmp
  817. ;extension=soap
  818. ;extension=sockets
  819. ;extension=sodium
  820. ;extension=sqlite3
  821. ;extension=tidy
  822. ;extension=xsl
  823. ;extension=zip
  824. ;zend_extension=opcache
  825. ;;;;;;;;;;;;;;;;;;;
  826. ; Module Settings ;
  827. ;;;;;;;;;;;;;;;;;;;
  828. [CLI Server]
  829. ; Whether the CLI web server uses ANSI color coding in its terminal output.
  830. cli_server.color = On
  831. [Date]
  832. ; Defines the default timezone used by the date functions
  833. ; https://php.net/date.timezone
  834. ;date.timezone =
  835. ; https://php.net/date.default-latitude
  836. ;date.default_latitude = 31.7667
  837. ; https://php.net/date.default-longitude
  838. ;date.default_longitude = 35.2333
  839. ; https://php.net/date.sunrise-zenith
  840. ;date.sunrise_zenith = 90.833333
  841. ; https://php.net/date.sunset-zenith
  842. ;date.sunset_zenith = 90.833333
  843. [filter]
  844. ; https://php.net/filter.default
  845. ;filter.default = unsafe_raw
  846. ; https://php.net/filter.default-flags
  847. ;filter.default_flags =
  848. [iconv]
  849. ; Use of this INI entry is deprecated, use global input_encoding instead.
  850. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
  851. ; The precedence is: default_charset < input_encoding < iconv.input_encoding
  852. ;iconv.input_encoding =
  853. ; Use of this INI entry is deprecated, use global internal_encoding instead.
  854. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
  855. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
  856. ;iconv.internal_encoding =
  857. ; Use of this INI entry is deprecated, use global output_encoding instead.
  858. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
  859. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
  860. ; To use an output encoding conversion, iconv's output handler must be set
  861. ; otherwise output encoding conversion cannot be performed.
  862. ;iconv.output_encoding =
  863. [imap]
  864. ; rsh/ssh logins are disabled by default. Use this INI entry if you want to
  865. ; enable them. Note that the IMAP library does not filter mailbox names before
  866. ; passing them to rsh/ssh command, thus passing untrusted data to this function
  867. ; with rsh/ssh enabled is insecure.
  868. ;imap.enable_insecure_rsh=0
  869. [intl]
  870. ;intl.default_locale =
  871. ; This directive allows you to produce PHP errors when some error
  872. ; happens within intl functions. The value is the level of the error produced.
  873. ; Default is 0, which does not produce any errors.
  874. ;intl.error_level = E_WARNING
  875. ;intl.use_exceptions = 0
  876. [sqlite3]
  877. ; Directory pointing to SQLite3 extensions
  878. ; https://php.net/sqlite3.extension-dir
  879. ;sqlite3.extension_dir =
  880. ; SQLite defensive mode flag (only available from SQLite 3.26+)
  881. ; When the defensive flag is enabled, language features that allow ordinary
  882. ; SQL to deliberately corrupt the database file are disabled. This forbids
  883. ; writing directly to the schema, shadow tables (eg. FTS data tables), or
  884. ; the sqlite_dbpage virtual table.
  885. ; https://www.sqlite.org/c3ref/c_dbconfig_defensive.html
  886. ; (for older SQLite versions, this flag has no use)
  887. ;sqlite3.defensive = 1
  888. [Pcre]
  889. ; PCRE library backtracking limit.
  890. ; https://php.net/pcre.backtrack-limit
  891. ;pcre.backtrack_limit=100000
  892. ; PCRE library recursion limit.
  893. ; Please note that if you set this value to a high number you may consume all
  894. ; the available process stack and eventually crash PHP (due to reaching the
  895. ; stack size limit imposed by the Operating System).
  896. ; https://php.net/pcre.recursion-limit
  897. ;pcre.recursion_limit=100000
  898. ; Enables or disables JIT compilation of patterns. This requires the PCRE
  899. ; library to be compiled with JIT support.
  900. ;pcre.jit=1
  901. [Pdo]
  902. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
  903. ; https://php.net/pdo-odbc.connection-pooling
  904. ;pdo_odbc.connection_pooling=strict
  905. [Pdo_mysql]
  906. ; Default socket name for local MySQL connects. If empty, uses the built-in
  907. ; MySQL defaults.
  908. pdo_mysql.default_socket=
  909. [Phar]
  910. ; https://php.net/phar.readonly
  911. ;phar.readonly = On
  912. ; https://php.net/phar.require-hash
  913. ;phar.require_hash = On
  914. ;phar.cache_list =
  915. [mail function]
  916. ; For Win32 only.
  917. ; https://php.net/smtp
  918. SMTP = localhost
  919. ; https://php.net/smtp-port
  920. smtp_port = 25
  921. ; For Win32 only.
  922. ; https://php.net/sendmail-from
  923. ;sendmail_from = me@example.com
  924. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
  925. ; https://php.net/sendmail-path
  926. ;sendmail_path =
  927. ; Force the addition of the specified parameters to be passed as extra parameters
  928. ; to the sendmail binary. These parameters will always replace the value of
  929. ; the 5th parameter to mail().
  930. ;mail.force_extra_parameters =
  931. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
  932. mail.add_x_header = Off
  933. ; Use mixed LF and CRLF line separators to keep compatibility with some
  934. ; RFC 2822 non conformant MTA.
  935. mail.mixed_lf_and_crlf = Off
  936. ; The path to a log file that will log all mail() calls. Log entries include
  937. ; the full path of the script, line number, To address and headers.
  938. ;mail.log =
  939. ; Log mail to syslog (Event Log on Windows).
  940. ;mail.log = syslog
  941. [ODBC]
  942. ; https://php.net/odbc.default-db
  943. ;odbc.default_db = Not yet implemented
  944. ; https://php.net/odbc.default-user
  945. ;odbc.default_user = Not yet implemented
  946. ; https://php.net/odbc.default-pw
  947. ;odbc.default_pw = Not yet implemented
  948. ; Controls the ODBC cursor model.
  949. ; Default: SQL_CURSOR_STATIC (default).
  950. ;odbc.default_cursortype
  951. ; Allow or prevent persistent links.
  952. ; https://php.net/odbc.allow-persistent
  953. odbc.allow_persistent = On
  954. ; Check that a connection is still valid before reuse.
  955. ; https://php.net/odbc.check-persistent
  956. odbc.check_persistent = On
  957. ; Maximum number of persistent links. -1 means no limit.
  958. ; https://php.net/odbc.max-persistent
  959. odbc.max_persistent = -1
  960. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  961. ; https://php.net/odbc.max-links
  962. odbc.max_links = -1
  963. ; Handling of LONG fields. Returns number of bytes to variables. 0 means
  964. ; passthru.
  965. ; https://php.net/odbc.defaultlrl
  966. odbc.defaultlrl = 4096
  967. ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
  968. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  969. ; of odbc.defaultlrl and odbc.defaultbinmode
  970. ; https://php.net/odbc.defaultbinmode
  971. odbc.defaultbinmode = 1
  972. [MySQLi]
  973. ; Maximum number of persistent links. -1 means no limit.
  974. ; https://php.net/mysqli.max-persistent
  975. mysqli.max_persistent = -1
  976. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
  977. ; https://php.net/mysqli.allow_local_infile
  978. ;mysqli.allow_local_infile = On
  979. ; It allows the user to specify a folder where files that can be sent via LOAD DATA
  980. ; LOCAL can exist. It is ignored if mysqli.allow_local_infile is enabled.
  981. ;mysqli.local_infile_directory =
  982. ; Allow or prevent persistent links.
  983. ; https://php.net/mysqli.allow-persistent
  984. mysqli.allow_persistent = On
  985. ; Maximum number of links. -1 means no limit.
  986. ; https://php.net/mysqli.max-links
  987. mysqli.max_links = -1
  988. ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
  989. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  990. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  991. ; at MYSQL_PORT.
  992. ; https://php.net/mysqli.default-port
  993. mysqli.default_port = 3306
  994. ; Default socket name for local MySQL connects. If empty, uses the built-in
  995. ; MySQL defaults.
  996. ; https://php.net/mysqli.default-socket
  997. mysqli.default_socket =
  998. ; Default host for mysqli_connect() (doesn't apply in safe mode).
  999. ; https://php.net/mysqli.default-host
  1000. mysqli.default_host =
  1001. ; Default user for mysqli_connect() (doesn't apply in safe mode).
  1002. ; https://php.net/mysqli.default-user
  1003. mysqli.default_user =
  1004. ; Default password for mysqli_connect() (doesn't apply in safe mode).
  1005. ; Note that this is generally a *bad* idea to store passwords in this file.
  1006. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
  1007. ; and reveal this password! And of course, any users with read access to this
  1008. ; file will be able to reveal the password as well.
  1009. ; https://php.net/mysqli.default-pw
  1010. mysqli.default_pw =
  1011. ; Allow or prevent reconnect
  1012. mysqli.reconnect = Off
  1013. ; If this option is enabled, closing a persistent connection will rollback
  1014. ; any pending transactions of this connection, before it is put back
  1015. ; into the persistent connection pool.
  1016. ;mysqli.rollback_on_cached_plink = Off
  1017. [mysqlnd]
  1018. ; Enable / Disable collection of general statistics by mysqlnd which can be
  1019. ; used to tune and monitor MySQL operations.
  1020. mysqlnd.collect_statistics = On
  1021. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
  1022. ; used to tune and monitor MySQL operations.
  1023. mysqlnd.collect_memory_statistics = Off
  1024. ; Records communication from all extensions using mysqlnd to the specified log
  1025. ; file.
  1026. ; https://php.net/mysqlnd.debug
  1027. ;mysqlnd.debug =
  1028. ; Defines which queries will be logged.
  1029. ;mysqlnd.log_mask = 0
  1030. ; Default size of the mysqlnd memory pool, which is used by result sets.
  1031. ;mysqlnd.mempool_default_size = 16000
  1032. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
  1033. ;mysqlnd.net_cmd_buffer_size = 2048
  1034. ; Size of a pre-allocated buffer used for reading data sent by the server in
  1035. ; bytes.
  1036. ;mysqlnd.net_read_buffer_size = 32768
  1037. ; Timeout for network requests in seconds.
  1038. ;mysqlnd.net_read_timeout = 31536000
  1039. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
  1040. ; key.
  1041. ;mysqlnd.sha256_server_public_key =
  1042. [OCI8]
  1043. ; Connection: Enables privileged connections using external
  1044. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
  1045. ; https://php.net/oci8.privileged-connect
  1046. ;oci8.privileged_connect = Off
  1047. ; Connection: The maximum number of persistent OCI8 connections per
  1048. ; process. Using -1 means no limit.
  1049. ; https://php.net/oci8.max-persistent
  1050. ;oci8.max_persistent = -1
  1051. ; Connection: The maximum number of seconds a process is allowed to
  1052. ; maintain an idle persistent connection. Using -1 means idle
  1053. ; persistent connections will be maintained forever.
  1054. ; https://php.net/oci8.persistent-timeout
  1055. ;oci8.persistent_timeout = -1
  1056. ; Connection: The number of seconds that must pass before issuing a
  1057. ; ping during oci_pconnect() to check the connection validity. When
  1058. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
  1059. ; pings completely.
  1060. ; https://php.net/oci8.ping-interval
  1061. ;oci8.ping_interval = 60
  1062. ; Connection: Set this to a user chosen connection class to be used
  1063. ; for all pooled server requests with Oracle Database Resident
  1064. ; Connection Pooling (DRCP). To use DRCP, this value should be set to
  1065. ; the same string for all web servers running the same application,
  1066. ; the database pool must be configured, and the connection string must
  1067. ; specify to use a pooled server.
  1068. ;oci8.connection_class =
  1069. ; High Availability: Using On lets PHP receive Fast Application
  1070. ; Notification (FAN) events generated when a database node fails. The
  1071. ; database must also be configured to post FAN events.
  1072. ;oci8.events = Off
  1073. ; Tuning: This option enables statement caching, and specifies how
  1074. ; many statements to cache. Using 0 disables statement caching.
  1075. ; https://php.net/oci8.statement-cache-size
  1076. ;oci8.statement_cache_size = 20
  1077. ; Tuning: Enables row prefetching and sets the default number of
  1078. ; rows that will be fetched automatically after statement execution.
  1079. ; https://php.net/oci8.default-prefetch
  1080. ;oci8.default_prefetch = 100
  1081. ; Tuning: Sets the amount of LOB data that is internally returned from
  1082. ; Oracle Database when an Oracle LOB locator is initially retrieved as
  1083. ; part of a query. Setting this can improve performance by reducing
  1084. ; round-trips.
  1085. ; https://php.net/oci8.prefetch-lob-size
  1086. ; oci8.prefetch_lob_size = 0
  1087. ; Compatibility. Using On means oci_close() will not close
  1088. ; oci_connect() and oci_new_connect() connections.
  1089. ; https://php.net/oci8.old-oci-close-semantics
  1090. ;oci8.old_oci_close_semantics = Off
  1091. [PostgreSQL]
  1092. ; Allow or prevent persistent links.
  1093. ; https://php.net/pgsql.allow-persistent
  1094. pgsql.allow_persistent = On
  1095. ; Detect broken persistent links always with pg_pconnect().
  1096. ; Auto reset feature requires a little overheads.
  1097. ; https://php.net/pgsql.auto-reset-persistent
  1098. pgsql.auto_reset_persistent = Off
  1099. ; Maximum number of persistent links. -1 means no limit.
  1100. ; https://php.net/pgsql.max-persistent
  1101. pgsql.max_persistent = -1
  1102. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  1103. ; https://php.net/pgsql.max-links
  1104. pgsql.max_links = -1
  1105. ; Ignore PostgreSQL backends Notice message or not.
  1106. ; Notice message logging require a little overheads.
  1107. ; https://php.net/pgsql.ignore-notice
  1108. pgsql.ignore_notice = 0
  1109. ; Log PostgreSQL backends Notice message or not.
  1110. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  1111. ; https://php.net/pgsql.log-notice
  1112. pgsql.log_notice = 0
  1113. [bcmath]
  1114. ; Number of decimal digits for all bcmath functions.
  1115. ; https://php.net/bcmath.scale
  1116. bcmath.scale = 0
  1117. [browscap]
  1118. ; https://php.net/browscap
  1119. ;browscap = extra/browscap.ini
  1120. [Session]
  1121. ; Handler used to store/retrieve data.
  1122. ; https://php.net/session.save-handler
  1123. session.save_handler = files
  1124. ; Argument passed to save_handler. In the case of files, this is the path
  1125. ; where data files are stored. Note: Windows users have to change this
  1126. ; variable in order to use PHP's session functions.
  1127. ;
  1128. ; The path can be defined as:
  1129. ;
  1130. ; session.save_path = "N;/path"
  1131. ;
  1132. ; where N is an integer. Instead of storing all the session files in
  1133. ; /path, what this will do is use subdirectories N-levels deep, and
  1134. ; store the session data in those directories. This is useful if
  1135. ; your OS has problems with many files in one directory, and is
  1136. ; a more efficient layout for servers that handle many sessions.
  1137. ;
  1138. ; NOTE 1: PHP will not create this directory structure automatically.
  1139. ; You can use the script in the ext/session dir for that purpose.
  1140. ; NOTE 2: See the section on garbage collection below if you choose to
  1141. ; use subdirectories for session storage
  1142. ;
  1143. ; The file storage module creates files using mode 600 by default.
  1144. ; You can change that by using
  1145. ;
  1146. ; session.save_path = "N;MODE;/path"
  1147. ;
  1148. ; where MODE is the octal representation of the mode. Note that this
  1149. ; does not overwrite the process's umask.
  1150. ; https://php.net/session.save-path
  1151. ;session.save_path = "/var/lib/php/sessions"
  1152. ; Whether to use strict session mode.
  1153. ; Strict session mode does not accept an uninitialized session ID, and
  1154. ; regenerates the session ID if the browser sends an uninitialized session ID.
  1155. ; Strict mode protects applications from session fixation via a session adoption
  1156. ; vulnerability. It is disabled by default for maximum compatibility, but
  1157. ; enabling it is encouraged.
  1158. ; https://wiki.php.net/rfc/strict_sessions
  1159. session.use_strict_mode = 0
  1160. ; Whether to use cookies.
  1161. ; https://php.net/session.use-cookies
  1162. session.use_cookies = 1
  1163. ; https://php.net/session.cookie-secure
  1164. ;session.cookie_secure =
  1165. ; This option forces PHP to fetch and use a cookie for storing and maintaining
  1166. ; the session id. We encourage this operation as it's very helpful in combating
  1167. ; session hijacking when not specifying and managing your own session id. It is
  1168. ; not the be-all and end-all of session hijacking defense, but it's a good start.
  1169. ; https://php.net/session.use-only-cookies
  1170. session.use_only_cookies = 1
  1171. ; Name of the session (used as cookie name).
  1172. ; https://php.net/session.name
  1173. session.name = PHPSESSID
  1174. ; Initialize session on request startup.
  1175. ; https://php.net/session.auto-start
  1176. session.auto_start = 0
  1177. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  1178. ; https://php.net/session.cookie-lifetime
  1179. session.cookie_lifetime = 0
  1180. ; The path for which the cookie is valid.
  1181. ; https://php.net/session.cookie-path
  1182. session.cookie_path = /
  1183. ; The domain for which the cookie is valid.
  1184. ; https://php.net/session.cookie-domain
  1185. session.cookie_domain =
  1186. ; Whether or not to add the httpOnly flag to the cookie, which makes it
  1187. ; inaccessible to browser scripting languages such as JavaScript.
  1188. ; https://php.net/session.cookie-httponly
  1189. session.cookie_httponly =
  1190. ; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
  1191. ; Current valid values are "Strict", "Lax" or "None". When using "None",
  1192. ; make sure to include the quotes, as `none` is interpreted like `false` in ini files.
  1193. ; https://tools.ietf.org/html/draft-west-first-party-cookies-07
  1194. session.cookie_samesite =
  1195. ; Handler used to serialize data. php is the standard serializer of PHP.
  1196. ; https://php.net/session.serialize-handler
  1197. session.serialize_handler = php
  1198. ; Defines the probability that the 'garbage collection' process is started on every
  1199. ; session initialization. The probability is calculated by using gc_probability/gc_divisor,
  1200. ; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
  1201. ; Default Value: 1
  1202. ; Development Value: 1
  1203. ; Production Value: 1
  1204. ; https://php.net/session.gc-probability
  1205. session.gc_probability = 0
  1206. ; Defines the probability that the 'garbage collection' process is started on every
  1207. ; session initialization. The probability is calculated by using gc_probability/gc_divisor,
  1208. ; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
  1209. ; For high volume production servers, using a value of 1000 is a more efficient approach.
  1210. ; Default Value: 100
  1211. ; Development Value: 1000
  1212. ; Production Value: 1000
  1213. ; https://php.net/session.gc-divisor
  1214. session.gc_divisor = 1000
  1215. ; After this number of seconds, stored data will be seen as 'garbage' and
  1216. ; cleaned up by the garbage collection process.
  1217. ; https://php.net/session.gc-maxlifetime
  1218. session.gc_maxlifetime = 1440
  1219. ; NOTE: If you are using the subdirectory option for storing session files
  1220. ; (see session.save_path above), then garbage collection does *not*
  1221. ; happen automatically. You will need to do your own garbage
  1222. ; collection through a shell script, cron entry, or some other method.
  1223. ; For example, the following script is the equivalent of setting
  1224. ; session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  1225. ; find /path/to/sessions -cmin +24 -type f | xargs rm
  1226. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  1227. ; HTTP_REFERER has to contain this substring for the session to be
  1228. ; considered as valid.
  1229. ; https://php.net/session.referer-check
  1230. session.referer_check =
  1231. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  1232. ; or leave this empty to avoid sending anti-caching headers.
  1233. ; https://php.net/session.cache-limiter
  1234. session.cache_limiter = nocache
  1235. ; Document expires after n minutes.
  1236. ; https://php.net/session.cache-expire
  1237. session.cache_expire = 180
  1238. ; trans sid support is disabled by default.
  1239. ; Use of trans sid may risk your users' security.
  1240. ; Use this option with caution.
  1241. ; - User may send URL contains active session ID
  1242. ; to other person via. email/irc/etc.
  1243. ; - URL that contains active session ID may be stored
  1244. ; in publicly accessible computer.
  1245. ; - User may access your site with the same session ID
  1246. ; always using URL stored in browser's history or bookmarks.
  1247. ; https://php.net/session.use-trans-sid
  1248. session.use_trans_sid = 0
  1249. ; Set session ID character length. This value could be between 22 to 256.
  1250. ; Shorter length than default is supported only for compatibility reason.
  1251. ; Users should use 32 or more chars.
  1252. ; https://php.net/session.sid-length
  1253. ; Default Value: 32
  1254. ; Development Value: 26
  1255. ; Production Value: 26
  1256. session.sid_length = 26
  1257. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  1258. ; <form> is special; if you include them here, the rewriter will
  1259. ; add a hidden <input> field with the info which is otherwise appended
  1260. ; to URLs. <form> tag's action attribute URL will not be modified
  1261. ; unless it is specified.
  1262. ; Note that all valid entries require a "=", even if no value follows.
  1263. ; Default Value: "a=href,area=href,frame=src,form="
  1264. ; Development Value: "a=href,area=href,frame=src,form="
  1265. ; Production Value: "a=href,area=href,frame=src,form="
  1266. ; https://php.net/url-rewriter.tags
  1267. session.trans_sid_tags = "a=href,area=href,frame=src,form="
  1268. ; URL rewriter does not rewrite absolute URLs by default.
  1269. ; To enable rewrites for absolute paths, target hosts must be specified
  1270. ; at RUNTIME. i.e. use ini_set()
  1271. ; <form> tags is special. PHP will check action attribute's URL regardless
  1272. ; of session.trans_sid_tags setting.
  1273. ; If no host is defined, HTTP_HOST will be used for allowed host.
  1274. ; Example value: php.net,www.php.net,wiki.php.net
  1275. ; Use "," for multiple hosts. No spaces are allowed.
  1276. ; Default Value: ""
  1277. ; Development Value: ""
  1278. ; Production Value: ""
  1279. ;session.trans_sid_hosts=""
  1280. ; Define how many bits are stored in each character when converting
  1281. ; the binary hash data to something readable.
  1282. ; Possible values:
  1283. ; 4 (4 bits: 0-9, a-f)
  1284. ; 5 (5 bits: 0-9, a-v)
  1285. ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
  1286. ; Default Value: 4
  1287. ; Development Value: 5
  1288. ; Production Value: 5
  1289. ; https://php.net/session.hash-bits-per-character
  1290. session.sid_bits_per_character = 5
  1291. ; Enable upload progress tracking in $_SESSION
  1292. ; Default Value: On
  1293. ; Development Value: On
  1294. ; Production Value: On
  1295. ; https://php.net/session.upload-progress.enabled
  1296. ;session.upload_progress.enabled = On
  1297. ; Cleanup the progress information as soon as all POST data has been read
  1298. ; (i.e. upload completed).
  1299. ; Default Value: On
  1300. ; Development Value: On
  1301. ; Production Value: On
  1302. ; https://php.net/session.upload-progress.cleanup
  1303. ;session.upload_progress.cleanup = On
  1304. ; A prefix used for the upload progress key in $_SESSION
  1305. ; Default Value: "upload_progress_"
  1306. ; Development Value: "upload_progress_"
  1307. ; Production Value: "upload_progress_"
  1308. ; https://php.net/session.upload-progress.prefix
  1309. ;session.upload_progress.prefix = "upload_progress_"
  1310. ; The index name (concatenated with the prefix) in $_SESSION
  1311. ; containing the upload progress information
  1312. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
  1313. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
  1314. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
  1315. ; https://php.net/session.upload-progress.name
  1316. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
  1317. ; How frequently the upload progress should be updated.
  1318. ; Given either in percentages (per-file), or in bytes
  1319. ; Default Value: "1%"
  1320. ; Development Value: "1%"
  1321. ; Production Value: "1%"
  1322. ; https://php.net/session.upload-progress.freq
  1323. ;session.upload_progress.freq = "1%"
  1324. ; The minimum delay between updates, in seconds
  1325. ; Default Value: 1
  1326. ; Development Value: 1
  1327. ; Production Value: 1
  1328. ; https://php.net/session.upload-progress.min-freq
  1329. ;session.upload_progress.min_freq = "1"
  1330. ; Only write session data when session data is changed. Enabled by default.
  1331. ; https://php.net/session.lazy-write
  1332. ;session.lazy_write = On
  1333. [Assertion]
  1334. ; Switch whether to compile assertions at all (to have no overhead at run-time)
  1335. ; -1: Do not compile at all
  1336. ; 0: Jump over assertion at run-time
  1337. ; 1: Execute assertions
  1338. ; 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)
  1339. ; Default Value: 1
  1340. ; Development Value: 1
  1341. ; Production Value: -1
  1342. ; https://php.net/zend.assertions
  1343. zend.assertions = -1
  1344. ; Assert(expr); active by default.
  1345. ; https://php.net/assert.active
  1346. ;assert.active = On
  1347. ; Throw an AssertionError on failed assertions
  1348. ; https://php.net/assert.exception
  1349. ;assert.exception = On
  1350. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
  1351. ; https://php.net/assert.warning
  1352. ;assert.warning = On
  1353. ; Don't bail out by default.
  1354. ; https://php.net/assert.bail
  1355. ;assert.bail = Off
  1356. ; User-function to be called if an assertion fails.
  1357. ; https://php.net/assert.callback
  1358. ;assert.callback = 0
  1359. [COM]
  1360. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  1361. ; https://php.net/com.typelib-file
  1362. ;com.typelib_file =
  1363. ; allow Distributed-COM calls
  1364. ; https://php.net/com.allow-dcom
  1365. ;com.allow_dcom = true
  1366. ; autoregister constants of a component's typelib on com_load()
  1367. ; https://php.net/com.autoregister-typelib
  1368. ;com.autoregister_typelib = true
  1369. ; register constants casesensitive
  1370. ; https://php.net/com.autoregister-casesensitive
  1371. ;com.autoregister_casesensitive = false
  1372. ; show warnings on duplicate constant registrations
  1373. ; https://php.net/com.autoregister-verbose
  1374. ;com.autoregister_verbose = true
  1375. ; The default character set code-page to use when passing strings to and from COM objects.
  1376. ; Default: system ANSI code page
  1377. ;com.code_page=
  1378. ; The version of the .NET framework to use. The value of the setting are the first three parts
  1379. ; of the framework's version number, separated by dots, and prefixed with "v", e.g. "v4.0.30319".
  1380. ;com.dotnet_version=
  1381. [mbstring]
  1382. ; language for internal character representation.
  1383. ; This affects mb_send_mail() and mbstring.detect_order.
  1384. ; https://php.net/mbstring.language
  1385. ;mbstring.language = Japanese
  1386. ; Use of this INI entry is deprecated, use global internal_encoding instead.
  1387. ; internal/script encoding.
  1388. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
  1389. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
  1390. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
  1391. ;mbstring.internal_encoding =
  1392. ; Use of this INI entry is deprecated, use global input_encoding instead.
  1393. ; http input encoding.
  1394. ; mbstring.encoding_translation = On is needed to use this setting.
  1395. ; If empty, default_charset or input_encoding or mbstring.input is used.
  1396. ; The precedence is: default_charset < input_encoding < mbstring.http_input
  1397. ; https://php.net/mbstring.http-input
  1398. ;mbstring.http_input =
  1399. ; Use of this INI entry is deprecated, use global output_encoding instead.
  1400. ; http output encoding.
  1401. ; mb_output_handler must be registered as output buffer to function.
  1402. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
  1403. ; The precedence is: default_charset < output_encoding < mbstring.http_output
  1404. ; To use an output encoding conversion, mbstring's output handler must be set
  1405. ; otherwise output encoding conversion cannot be performed.
  1406. ; https://php.net/mbstring.http-output
  1407. ;mbstring.http_output =
  1408. ; enable automatic encoding translation according to
  1409. ; mbstring.internal_encoding setting. Input chars are
  1410. ; converted to internal encoding by setting this to On.
  1411. ; Note: Do _not_ use automatic encoding translation for
  1412. ; portable libs/applications.
  1413. ; https://php.net/mbstring.encoding-translation
  1414. ;mbstring.encoding_translation = Off
  1415. ; automatic encoding detection order.
  1416. ; "auto" detect order is changed according to mbstring.language
  1417. ; https://php.net/mbstring.detect-order
  1418. ;mbstring.detect_order = auto
  1419. ; substitute_character used when character cannot be converted
  1420. ; one from another
  1421. ; https://php.net/mbstring.substitute-character
  1422. ;mbstring.substitute_character = none
  1423. ; Enable strict encoding detection.
  1424. ;mbstring.strict_detection = Off
  1425. ; This directive specifies the regex pattern of content types for which mb_output_handler()
  1426. ; is activated.
  1427. ; Default: mbstring.http_output_conv_mimetypes=^(text/|application/xhtml\+xml)
  1428. ;mbstring.http_output_conv_mimetypes=
  1429. ; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
  1430. ; to the pcre.recursion_limit for PCRE.
  1431. ;mbstring.regex_stack_limit=100000
  1432. ; This directive specifies maximum retry count for mbstring regular expressions. It is similar
  1433. ; to the pcre.backtrack_limit for PCRE.
  1434. ;mbstring.regex_retry_limit=1000000
  1435. [gd]
  1436. ; Tell the jpeg decode to ignore warnings and try to create
  1437. ; a gd image. The warning will then be displayed as notices
  1438. ; disabled by default
  1439. ; https://php.net/gd.jpeg-ignore-warning
  1440. ;gd.jpeg_ignore_warning = 1
  1441. [exif]
  1442. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  1443. ; With mbstring support this will automatically be converted into the encoding
  1444. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  1445. ; is used. For the decode settings you can distinguish between motorola and
  1446. ; intel byte order. A decode setting cannot be empty.
  1447. ; https://php.net/exif.encode-unicode
  1448. ;exif.encode_unicode = ISO-8859-15
  1449. ; https://php.net/exif.decode-unicode-motorola
  1450. ;exif.decode_unicode_motorola = UCS-2BE
  1451. ; https://php.net/exif.decode-unicode-intel
  1452. ;exif.decode_unicode_intel = UCS-2LE
  1453. ; https://php.net/exif.encode-jis
  1454. ;exif.encode_jis =
  1455. ; https://php.net/exif.decode-jis-motorola
  1456. ;exif.decode_jis_motorola = JIS
  1457. ; https://php.net/exif.decode-jis-intel
  1458. ;exif.decode_jis_intel = JIS
  1459. [Tidy]
  1460. ; The path to a default tidy configuration file to use when using tidy
  1461. ; https://php.net/tidy.default-config
  1462. ;tidy.default_config = /usr/local/lib/php/default.tcfg
  1463. ; Should tidy clean and repair output automatically?
  1464. ; WARNING: Do not use this option if you are generating non-html content
  1465. ; such as dynamic images
  1466. ; https://php.net/tidy.clean-output
  1467. tidy.clean_output = Off
  1468. [soap]
  1469. ; Enables or disables WSDL caching feature.
  1470. ; https://php.net/soap.wsdl-cache-enabled
  1471. soap.wsdl_cache_enabled=1
  1472. ; Sets the directory name where SOAP extension will put cache files.
  1473. ; https://php.net/soap.wsdl-cache-dir
  1474. soap.wsdl_cache_dir="/tmp"
  1475. ; (time to live) Sets the number of second while cached file will be used
  1476. ; instead of original one.
  1477. ; https://php.net/soap.wsdl-cache-ttl
  1478. soap.wsdl_cache_ttl=86400
  1479. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
  1480. soap.wsdl_cache_limit = 5
  1481. [sysvshm]
  1482. ; A default size of the shared memory segment
  1483. ;sysvshm.init_mem = 10000
  1484. [ldap]
  1485. ; Sets the maximum number of open links or -1 for unlimited.
  1486. ldap.max_links = -1
  1487. [dba]
  1488. ;dba.default_handler=
  1489. [opcache]
  1490. ; Determines if Zend OPCache is enabled
  1491. ;opcache.enable=1
  1492. ; Determines if Zend OPCache is enabled for the CLI version of PHP
  1493. ;opcache.enable_cli=0
  1494. ; The OPcache shared memory storage size.
  1495. ;opcache.memory_consumption=128
  1496. ; The amount of memory for interned strings in Mbytes.
  1497. ;opcache.interned_strings_buffer=8
  1498. ; The maximum number of keys (scripts) in the OPcache hash table.
  1499. ; Only numbers between 200 and 1000000 are allowed.
  1500. ;opcache.max_accelerated_files=10000
  1501. ; The maximum percentage of "wasted" memory until a restart is scheduled.
  1502. ;opcache.max_wasted_percentage=5
  1503. ; When this directive is enabled, the OPcache appends the current working
  1504. ; directory to the script key, thus eliminating possible collisions between
  1505. ; files with the same name (basename). Disabling the directive improves
  1506. ; performance, but may break existing applications.
  1507. ;opcache.use_cwd=1
  1508. ; When disabled, you must reset the OPcache manually or restart the
  1509. ; webserver for changes to the filesystem to take effect.
  1510. ;opcache.validate_timestamps=1
  1511. ; How often (in seconds) to check file timestamps for changes to the shared
  1512. ; memory storage allocation. ("1" means validate once per second, but only
  1513. ; once per request. "0" means always validate)
  1514. ;opcache.revalidate_freq=2
  1515. ; Enables or disables file search in include_path optimization
  1516. ;opcache.revalidate_path=0
  1517. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
  1518. ; size of the optimized code.
  1519. ;opcache.save_comments=1
  1520. ; If enabled, compilation warnings (including notices and deprecations) will
  1521. ; be recorded and replayed each time a file is included. Otherwise, compilation
  1522. ; warnings will only be emitted when the file is first cached.
  1523. ;opcache.record_warnings=0
  1524. ; Allow file existence override (file_exists, etc.) performance feature.
  1525. ;opcache.enable_file_override=0
  1526. ; A bitmask, where each bit enables or disables the appropriate OPcache
  1527. ; passes
  1528. ;opcache.optimization_level=0x7FFFBFFF
  1529. ;opcache.dups_fix=0
  1530. ; The location of the OPcache blacklist file (wildcards allowed).
  1531. ; Each OPcache blacklist file is a text file that holds the names of files
  1532. ; that should not be accelerated. The file format is to add each filename
  1533. ; to a new line. The filename may be a full path or just a file prefix
  1534. ; (i.e., /var/www/x blacklists all the files and directories in /var/www
  1535. ; that start with 'x'). Line starting with a ; are ignored (comments).
  1536. ;opcache.blacklist_filename=
  1537. ; Allows exclusion of large files from being cached. By default all files
  1538. ; are cached.
  1539. ;opcache.max_file_size=0
  1540. ; Check the cache checksum each N requests.
  1541. ; The default value of "0" means that the checks are disabled.
  1542. ;opcache.consistency_checks=0
  1543. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
  1544. ; is not being accessed.
  1545. ;opcache.force_restart_timeout=180
  1546. ; OPcache error_log file name. Empty string assumes "stderr".
  1547. ;opcache.error_log=
  1548. ; All OPcache errors go to the Web server log.
  1549. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
  1550. ; You can also enable warnings (level 2), info messages (level 3) or
  1551. ; debug messages (level 4).
  1552. ;opcache.log_verbosity_level=1
  1553. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
  1554. ;opcache.preferred_memory_model=
  1555. ; Protect the shared memory from unexpected writing during script execution.
  1556. ; Useful for internal debugging only.
  1557. ;opcache.protect_memory=0
  1558. ; Allows calling OPcache API functions only from PHP scripts which path is
  1559. ; started from specified string. The default "" means no restriction
  1560. ;opcache.restrict_api=
  1561. ; Mapping base of shared memory segments (for Windows only). All the PHP
  1562. ; processes have to map shared memory into the same address space. This
  1563. ; directive allows to manually fix the "Unable to reattach to base address"
  1564. ; errors.
  1565. ;opcache.mmap_base=
  1566. ; Facilitates multiple OPcache instances per user (for Windows only). All PHP
  1567. ; processes with the same cache ID and user share an OPcache instance.
  1568. ;opcache.cache_id=
  1569. ; Enables and sets the second level cache directory.
  1570. ; It should improve performance when SHM memory is full, at server restart or
  1571. ; SHM reset. The default "" disables file based caching.
  1572. ;opcache.file_cache=
  1573. ; Enables or disables opcode caching in shared memory.
  1574. ;opcache.file_cache_only=0
  1575. ; Enables or disables checksum validation when script loaded from file cache.
  1576. ;opcache.file_cache_consistency_checks=1
  1577. ; Implies opcache.file_cache_only=1 for a certain process that failed to
  1578. ; reattach to the shared memory (for Windows only). Explicitly enabled file
  1579. ; cache is required.
  1580. ;opcache.file_cache_fallback=1
  1581. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
  1582. ; Under certain circumstances (if only a single global PHP process is
  1583. ; started from which all others fork), this can increase performance
  1584. ; by a tiny amount because TLB misses are reduced. On the other hand, this
  1585. ; delays PHP startup, increases memory usage and degrades performance
  1586. ; under memory pressure - use with care.
  1587. ; Requires appropriate OS configuration.
  1588. ;opcache.huge_code_pages=0
  1589. ; Validate cached file permissions.
  1590. ;opcache.validate_permission=0
  1591. ; Prevent name collisions in chroot'ed environment.
  1592. ;opcache.validate_root=0
  1593. ; If specified, it produces opcode dumps for debugging different stages of
  1594. ; optimizations.
  1595. ;opcache.opt_debug_level=0
  1596. ; Specifies a PHP script that is going to be compiled and executed at server
  1597. ; start-up.
  1598. ; https://php.net/opcache.preload
  1599. ;opcache.preload=
  1600. ; Preloading code as root is not allowed for security reasons. This directive
  1601. ; facilitates to let the preloading to be run as another user.
  1602. ; https://php.net/opcache.preload_user
  1603. ;opcache.preload_user=
  1604. ; Prevents caching files that are less than this number of seconds old. It
  1605. ; protects from caching of incompletely updated files. In case all file updates
  1606. ; on your site are atomic, you may increase performance by setting it to "0".
  1607. ;opcache.file_update_protection=2
  1608. ; Absolute path used to store shared lockfiles (for *nix only).
  1609. ;opcache.lockfile_path=/tmp
  1610. [curl]
  1611. ; A default value for the CURLOPT_CAINFO option. This is required to be an
  1612. ; absolute path.
  1613. ;curl.cainfo =
  1614. [openssl]
  1615. ; The location of a Certificate Authority (CA) file on the local filesystem
  1616. ; to use when verifying the identity of SSL/TLS peers. Most users should
  1617. ; not specify a value for this directive as PHP will attempt to use the
  1618. ; OS-managed cert stores in its absence. If specified, this value may still
  1619. ; be overridden on a per-stream basis via the "cafile" SSL stream context
  1620. ; option.
  1621. ;openssl.cafile=
  1622. ; If openssl.cafile is not specified or if the CA file is not found, the
  1623. ; directory pointed to by openssl.capath is searched for a suitable
  1624. ; certificate. This value must be a correctly hashed certificate directory.
  1625. ; Most users should not specify a value for this directive as PHP will
  1626. ; attempt to use the OS-managed cert stores in its absence. If specified,
  1627. ; this value may still be overridden on a per-stream basis via the "capath"
  1628. ; SSL stream context option.
  1629. ;openssl.capath=
  1630. [ffi]
  1631. ; FFI API restriction. Possible values:
  1632. ; "preload" - enabled in CLI scripts and preloaded files (default)
  1633. ; "false" - always disabled
  1634. ; "true" - always enabled
  1635. ;ffi.enable=preload
  1636. ; List of headers files to preload, wildcard patterns allowed.
  1637. ;ffi.preload=