php.ini 72 KB

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