php.ini-production 74 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030
  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. ;
  607. ; Windows: "\path1;\path2"
  608. ;include_path = ".;c:\php\includes"
  609. ;
  610. ; PHP's default setting for include_path is ".;/path/to/php/pear"
  611. ; http://php.net/include-path
  612. ; The root of the PHP pages, used only if nonempty.
  613. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  614. ; if you are running php as a CGI under any web server (other than IIS)
  615. ; see documentation for security issues. The alternate is to use the
  616. ; cgi.force_redirect configuration below
  617. ; http://php.net/doc-root
  618. doc_root =
  619. ; The directory under which PHP opens the script using /~username used only
  620. ; if nonempty.
  621. ; http://php.net/user-dir
  622. user_dir =
  623. ; Directory in which the loadable extensions (modules) reside.
  624. ; http://php.net/extension-dir
  625. ; extension_dir = "./"
  626. ; On windows:
  627. ; extension_dir = "ext"
  628. ; Directory where the temporary files should be placed.
  629. ; Defaults to the system default (see sys_get_temp_dir)
  630. ; sys_temp_dir = "/tmp"
  631. ; Whether or not to enable the dl() function. The dl() function does NOT work
  632. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  633. ; disabled on them.
  634. ; http://php.net/enable-dl
  635. enable_dl = Off
  636. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  637. ; most web servers. Left undefined, PHP turns this on by default. You can
  638. ; turn it off here AT YOUR OWN RISK
  639. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  640. ; http://php.net/cgi.force-redirect
  641. ;cgi.force_redirect = 1
  642. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  643. ; every request. PHP's default behavior is to disable this feature.
  644. ;cgi.nph = 1
  645. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  646. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  647. ; will look for to know it is OK to continue execution. Setting this variable MAY
  648. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  649. ; http://php.net/cgi.redirect-status-env
  650. ;cgi.redirect_status_env =
  651. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
  652. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  653. ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
  654. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
  655. ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
  656. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  657. ; http://php.net/cgi.fix-pathinfo
  658. ;cgi.fix_pathinfo=1
  659. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
  660. ; of the web tree and people will not be able to circumvent .htaccess security.
  661. ; http://php.net/cgi.dicard-path
  662. ;cgi.discard_path=1
  663. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  664. ; security tokens of the calling client. This allows IIS to define the
  665. ; security context that the request runs under. mod_fastcgi under Apache
  666. ; does not currently support this feature (03/17/2002)
  667. ; Set to 1 if running under IIS. Default is zero.
  668. ; http://php.net/fastcgi.impersonate
  669. ;fastcgi.impersonate = 1
  670. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
  671. ; this feature.
  672. ;fastcgi.logging = 0
  673. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  674. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
  675. ; is supported by Apache. When this option is set to 1, PHP will send
  676. ; RFC2616 compliant header.
  677. ; Default is zero.
  678. ; http://php.net/cgi.rfc2616-headers
  679. ;cgi.rfc2616_headers = 0
  680. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
  681. ; (shebang) at the top of the running script. This line might be needed if the
  682. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
  683. ; mode skips this line and ignores its content if this directive is turned on.
  684. ; http://php.net/cgi.check-shebang-line
  685. ;cgi.check_shebang_line=1
  686. ;;;;;;;;;;;;;;;;
  687. ; File Uploads ;
  688. ;;;;;;;;;;;;;;;;
  689. ; Whether to allow HTTP file uploads.
  690. ; http://php.net/file-uploads
  691. file_uploads = On
  692. ; Temporary directory for HTTP uploaded files (will use system default if not
  693. ; specified).
  694. ; http://php.net/upload-tmp-dir
  695. ;upload_tmp_dir =
  696. ; Maximum allowed size for uploaded files.
  697. ; http://php.net/upload-max-filesize
  698. upload_max_filesize = 2M
  699. ; Maximum number of files that can be uploaded via a single request
  700. max_file_uploads = 20
  701. ;;;;;;;;;;;;;;;;;;
  702. ; Fopen wrappers ;
  703. ;;;;;;;;;;;;;;;;;;
  704. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  705. ; http://php.net/allow-url-fopen
  706. allow_url_fopen = On
  707. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
  708. ; http://php.net/allow-url-include
  709. allow_url_include = Off
  710. ; Define the anonymous ftp password (your email address). PHP's default setting
  711. ; for this is empty.
  712. ; http://php.net/from
  713. ;from="john@doe.com"
  714. ; Define the User-Agent string. PHP's default setting for this is empty.
  715. ; http://php.net/user-agent
  716. ;user_agent="PHP"
  717. ; Default timeout for socket based streams (seconds)
  718. ; http://php.net/default-socket-timeout
  719. default_socket_timeout = 60
  720. ; If your scripts have to deal with files from Macintosh systems,
  721. ; or you are running on a Mac and need to deal with files from
  722. ; unix or win32 systems, setting this flag will cause PHP to
  723. ; automatically detect the EOL character in those files so that
  724. ; fgets() and file() will work regardless of the source of the file.
  725. ; http://php.net/auto-detect-line-endings
  726. ;auto_detect_line_endings = Off
  727. ;;;;;;;;;;;;;;;;;;;;;;
  728. ; Dynamic Extensions ;
  729. ;;;;;;;;;;;;;;;;;;;;;;
  730. ; If you wish to have an extension loaded automatically, use the following
  731. ; syntax:
  732. ;
  733. ; extension=modulename.extension
  734. ;
  735. ; For example, on Windows:
  736. ;
  737. ; extension=msql.dll
  738. ;
  739. ; ... or under UNIX:
  740. ;
  741. ; extension=msql.so
  742. ;
  743. ; ... or with a path:
  744. ;
  745. ; extension=/path/to/extension/msql.so
  746. ;
  747. ; If you only provide the name of the extension, PHP will look for it in its
  748. ; default extension directory.
  749. ;
  750. ; Windows Extensions
  751. ; Note that ODBC support is built in, so no dll is needed for it.
  752. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
  753. ; extension folders as well as the separate PECL DLL download (PHP 5).
  754. ; Be sure to appropriately set the extension_dir directive.
  755. ;
  756. ;extension=php_bz2.dll
  757. ;extension=php_curl.dll
  758. ;extension=php_fileinfo.dll
  759. ;extension=php_gd2.dll
  760. ;extension=php_gettext.dll
  761. ;extension=php_gmp.dll
  762. ;extension=php_intl.dll
  763. ;extension=php_imap.dll
  764. ;extension=php_interbase.dll
  765. ;extension=php_ldap.dll
  766. ;extension=php_mbstring.dll
  767. ;extension=php_exif.dll ; Must be after mbstring as it depends on it
  768. ;extension=php_mysql.dll
  769. ;extension=php_mysqli.dll
  770. ;extension=php_oci8_12c.dll ; Use with Oracle Database 12c Instant Client
  771. ;extension=php_openssl.dll
  772. ;extension=php_pdo_firebird.dll
  773. ;extension=php_pdo_mysql.dll
  774. ;extension=php_pdo_oci.dll
  775. ;extension=php_pdo_odbc.dll
  776. ;extension=php_pdo_pgsql.dll
  777. ;extension=php_pdo_sqlite.dll
  778. ;extension=php_pgsql.dll
  779. ;extension=php_shmop.dll
  780. ; The MIBS data available in the PHP distribution must be installed.
  781. ; See http://www.php.net/manual/en/snmp.installation.php
  782. ;extension=php_snmp.dll
  783. ;extension=php_soap.dll
  784. ;extension=php_sockets.dll
  785. ;extension=php_sqlite3.dll
  786. ;extension=php_sybase_ct.dll
  787. ;extension=php_tidy.dll
  788. ;extension=php_xmlrpc.dll
  789. ;extension=php_xsl.dll
  790. ;;;;;;;;;;;;;;;;;;;
  791. ; Module Settings ;
  792. ;;;;;;;;;;;;;;;;;;;
  793. [CLI Server]
  794. ; Whether the CLI web server uses ANSI color coding in its terminal output.
  795. cli_server.color = On
  796. [Date]
  797. ; Defines the default timezone used by the date functions
  798. ; http://php.net/date.timezone
  799. ;date.timezone =
  800. ; http://php.net/date.default-latitude
  801. ;date.default_latitude = 31.7667
  802. ; http://php.net/date.default-longitude
  803. ;date.default_longitude = 35.2333
  804. ; http://php.net/date.sunrise-zenith
  805. ;date.sunrise_zenith = 90.583333
  806. ; http://php.net/date.sunset-zenith
  807. ;date.sunset_zenith = 90.583333
  808. [filter]
  809. ; http://php.net/filter.default
  810. ;filter.default = unsafe_raw
  811. ; http://php.net/filter.default-flags
  812. ;filter.default_flags =
  813. [iconv]
  814. ; Use of this INI entry is deprecated, use global input_encoding instead.
  815. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
  816. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
  817. ;iconv.input_encoding =
  818. ; Use of this INI entry is deprecated, use global internal_encoding instead.
  819. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
  820. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
  821. ;iconv.internal_encoding =
  822. ; Use of this INI entry is deprecated, use global output_encoding instead.
  823. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
  824. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
  825. ; To use an output encoding conversion, iconv's output handler must be set
  826. ; otherwise output encoding conversion cannot be performed.
  827. ;iconv.output_encoding =
  828. [intl]
  829. ;intl.default_locale =
  830. ; This directive allows you to produce PHP errors when some error
  831. ; happens within intl functions. The value is the level of the error produced.
  832. ; Default is 0, which does not produce any errors.
  833. ;intl.error_level = E_WARNING
  834. ;intl.use_exceptions = 0
  835. [sqlite3]
  836. ;sqlite3.extension_dir =
  837. [Pcre]
  838. ;PCRE library backtracking limit.
  839. ; http://php.net/pcre.backtrack-limit
  840. ;pcre.backtrack_limit=100000
  841. ;PCRE library recursion limit.
  842. ;Please note that if you set this value to a high number you may consume all
  843. ;the available process stack and eventually crash PHP (due to reaching the
  844. ;stack size limit imposed by the Operating System).
  845. ; http://php.net/pcre.recursion-limit
  846. ;pcre.recursion_limit=100000
  847. [Pdo]
  848. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
  849. ; http://php.net/pdo-odbc.connection-pooling
  850. ;pdo_odbc.connection_pooling=strict
  851. ;pdo_odbc.db2_instance_name
  852. [Pdo_mysql]
  853. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  854. ; http://php.net/pdo_mysql.cache_size
  855. pdo_mysql.cache_size = 2000
  856. ; Default socket name for local MySQL connects. If empty, uses the built-in
  857. ; MySQL defaults.
  858. ; http://php.net/pdo_mysql.default-socket
  859. pdo_mysql.default_socket=
  860. [Phar]
  861. ; http://php.net/phar.readonly
  862. ;phar.readonly = On
  863. ; http://php.net/phar.require-hash
  864. ;phar.require_hash = On
  865. ;phar.cache_list =
  866. [mail function]
  867. ; For Win32 only.
  868. ; http://php.net/smtp
  869. SMTP = localhost
  870. ; http://php.net/smtp-port
  871. smtp_port = 25
  872. ; For Win32 only.
  873. ; http://php.net/sendmail-from
  874. ;sendmail_from = me@example.com
  875. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
  876. ; http://php.net/sendmail-path
  877. ;sendmail_path =
  878. ; Force the addition of the specified parameters to be passed as extra parameters
  879. ; to the sendmail binary. These parameters will always replace the value of
  880. ; the 5th parameter to mail().
  881. ;mail.force_extra_parameters =
  882. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
  883. mail.add_x_header = On
  884. ; The path to a log file that will log all mail() calls. Log entries include
  885. ; the full path of the script, line number, To address and headers.
  886. ;mail.log =
  887. ; Log mail to syslog (Event Log on Windows).
  888. ;mail.log = syslog
  889. [SQL]
  890. ; http://php.net/sql.safe-mode
  891. sql.safe_mode = Off
  892. [ODBC]
  893. ; http://php.net/odbc.default-db
  894. ;odbc.default_db = Not yet implemented
  895. ; http://php.net/odbc.default-user
  896. ;odbc.default_user = Not yet implemented
  897. ; http://php.net/odbc.default-pw
  898. ;odbc.default_pw = Not yet implemented
  899. ; Controls the ODBC cursor model.
  900. ; Default: SQL_CURSOR_STATIC (default).
  901. ;odbc.default_cursortype
  902. ; Allow or prevent persistent links.
  903. ; http://php.net/odbc.allow-persistent
  904. odbc.allow_persistent = On
  905. ; Check that a connection is still valid before reuse.
  906. ; http://php.net/odbc.check-persistent
  907. odbc.check_persistent = On
  908. ; Maximum number of persistent links. -1 means no limit.
  909. ; http://php.net/odbc.max-persistent
  910. odbc.max_persistent = -1
  911. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  912. ; http://php.net/odbc.max-links
  913. odbc.max_links = -1
  914. ; Handling of LONG fields. Returns number of bytes to variables. 0 means
  915. ; passthru.
  916. ; http://php.net/odbc.defaultlrl
  917. odbc.defaultlrl = 4096
  918. ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
  919. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  920. ; of odbc.defaultlrl and odbc.defaultbinmode
  921. ; http://php.net/odbc.defaultbinmode
  922. odbc.defaultbinmode = 1
  923. ;birdstep.max_links = -1
  924. [Interbase]
  925. ; Allow or prevent persistent links.
  926. ibase.allow_persistent = 1
  927. ; Maximum number of persistent links. -1 means no limit.
  928. ibase.max_persistent = -1
  929. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  930. ibase.max_links = -1
  931. ; Default database name for ibase_connect().
  932. ;ibase.default_db =
  933. ; Default username for ibase_connect().
  934. ;ibase.default_user =
  935. ; Default password for ibase_connect().
  936. ;ibase.default_password =
  937. ; Default charset for ibase_connect().
  938. ;ibase.default_charset =
  939. ; Default timestamp format.
  940. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
  941. ; Default date format.
  942. ibase.dateformat = "%Y-%m-%d"
  943. ; Default time format.
  944. ibase.timeformat = "%H:%M:%S"
  945. [MySQL]
  946. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
  947. ; http://php.net/mysql.allow_local_infile
  948. mysql.allow_local_infile = On
  949. ; Allow or prevent persistent links.
  950. ; http://php.net/mysql.allow-persistent
  951. mysql.allow_persistent = On
  952. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  953. ; http://php.net/mysql.cache_size
  954. mysql.cache_size = 2000
  955. ; Maximum number of persistent links. -1 means no limit.
  956. ; http://php.net/mysql.max-persistent
  957. mysql.max_persistent = -1
  958. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  959. ; http://php.net/mysql.max-links
  960. mysql.max_links = -1
  961. ; Default port number for mysql_connect(). If unset, mysql_connect() will use
  962. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  963. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  964. ; at MYSQL_PORT.
  965. ; http://php.net/mysql.default-port
  966. mysql.default_port =
  967. ; Default socket name for local MySQL connects. If empty, uses the built-in
  968. ; MySQL defaults.
  969. ; http://php.net/mysql.default-socket
  970. mysql.default_socket =
  971. ; Default host for mysql_connect() (doesn't apply in safe mode).
  972. ; http://php.net/mysql.default-host
  973. mysql.default_host =
  974. ; Default user for mysql_connect() (doesn't apply in safe mode).
  975. ; http://php.net/mysql.default-user
  976. mysql.default_user =
  977. ; Default password for mysql_connect() (doesn't apply in safe mode).
  978. ; Note that this is generally a *bad* idea to store passwords in this file.
  979. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  980. ; and reveal this password! And of course, any users with read access to this
  981. ; file will be able to reveal the password as well.
  982. ; http://php.net/mysql.default-password
  983. mysql.default_password =
  984. ; Maximum time (in seconds) for connect timeout. -1 means no limit
  985. ; http://php.net/mysql.connect-timeout
  986. mysql.connect_timeout = 60
  987. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  988. ; SQL-Errors will be displayed.
  989. ; http://php.net/mysql.trace-mode
  990. mysql.trace_mode = Off
  991. [MySQLi]
  992. ; Maximum number of persistent links. -1 means no limit.
  993. ; http://php.net/mysqli.max-persistent
  994. mysqli.max_persistent = -1
  995. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
  996. ; http://php.net/mysqli.allow_local_infile
  997. ;mysqli.allow_local_infile = On
  998. ; Allow or prevent persistent links.
  999. ; http://php.net/mysqli.allow-persistent
  1000. mysqli.allow_persistent = On
  1001. ; Maximum number of links. -1 means no limit.
  1002. ; http://php.net/mysqli.max-links
  1003. mysqli.max_links = -1
  1004. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  1005. ; http://php.net/mysqli.cache_size
  1006. mysqli.cache_size = 2000
  1007. ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
  1008. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  1009. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  1010. ; at MYSQL_PORT.
  1011. ; http://php.net/mysqli.default-port
  1012. mysqli.default_port = 3306
  1013. ; Default socket name for local MySQL connects. If empty, uses the built-in
  1014. ; MySQL defaults.
  1015. ; http://php.net/mysqli.default-socket
  1016. mysqli.default_socket =
  1017. ; Default host for mysql_connect() (doesn't apply in safe mode).
  1018. ; http://php.net/mysqli.default-host
  1019. mysqli.default_host =
  1020. ; Default user for mysql_connect() (doesn't apply in safe mode).
  1021. ; http://php.net/mysqli.default-user
  1022. mysqli.default_user =
  1023. ; Default password for mysqli_connect() (doesn't apply in safe mode).
  1024. ; Note that this is generally a *bad* idea to store passwords in this file.
  1025. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
  1026. ; and reveal this password! And of course, any users with read access to this
  1027. ; file will be able to reveal the password as well.
  1028. ; http://php.net/mysqli.default-pw
  1029. mysqli.default_pw =
  1030. ; Allow or prevent reconnect
  1031. mysqli.reconnect = Off
  1032. [mysqlnd]
  1033. ; Enable / Disable collection of general statistics by mysqlnd which can be
  1034. ; used to tune and monitor MySQL operations.
  1035. ; http://php.net/mysqlnd.collect_statistics
  1036. mysqlnd.collect_statistics = On
  1037. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
  1038. ; used to tune and monitor MySQL operations.
  1039. ; http://php.net/mysqlnd.collect_memory_statistics
  1040. mysqlnd.collect_memory_statistics = Off
  1041. ; Records communication from all extensions using mysqlnd to the specified log
  1042. ; file.
  1043. ; http://php.net/mysqlnd.debug
  1044. ;mysqlnd.debug =
  1045. ; Defines which queries will be logged.
  1046. ; http://php.net/mysqlnd.log_mask
  1047. ;mysqlnd.log_mask = 0
  1048. ; Default size of the mysqlnd memory pool, which is used by result sets.
  1049. ; http://php.net/mysqlnd.mempool_default_size
  1050. ;mysqlnd.mempool_default_size = 16000
  1051. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
  1052. ; http://php.net/mysqlnd.net_cmd_buffer_size
  1053. ;mysqlnd.net_cmd_buffer_size = 2048
  1054. ; Size of a pre-allocated buffer used for reading data sent by the server in
  1055. ; bytes.
  1056. ; http://php.net/mysqlnd.net_read_buffer_size
  1057. ;mysqlnd.net_read_buffer_size = 32768
  1058. ; Timeout for network requests in seconds.
  1059. ; http://php.net/mysqlnd.net_read_timeout
  1060. ;mysqlnd.net_read_timeout = 31536000
  1061. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
  1062. ; key.
  1063. ; http://php.net/mysqlnd.sha256_server_public_key
  1064. ;mysqlnd.sha256_server_public_key =
  1065. [OCI8]
  1066. ; Connection: Enables privileged connections using external
  1067. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
  1068. ; http://php.net/oci8.privileged-connect
  1069. ;oci8.privileged_connect = Off
  1070. ; Connection: The maximum number of persistent OCI8 connections per
  1071. ; process. Using -1 means no limit.
  1072. ; http://php.net/oci8.max-persistent
  1073. ;oci8.max_persistent = -1
  1074. ; Connection: The maximum number of seconds a process is allowed to
  1075. ; maintain an idle persistent connection. Using -1 means idle
  1076. ; persistent connections will be maintained forever.
  1077. ; http://php.net/oci8.persistent-timeout
  1078. ;oci8.persistent_timeout = -1
  1079. ; Connection: The number of seconds that must pass before issuing a
  1080. ; ping during oci_pconnect() to check the connection validity. When
  1081. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
  1082. ; pings completely.
  1083. ; http://php.net/oci8.ping-interval
  1084. ;oci8.ping_interval = 60
  1085. ; Connection: Set this to a user chosen connection class to be used
  1086. ; for all pooled server requests with Oracle 11g Database Resident
  1087. ; Connection Pooling (DRCP). To use DRCP, this value should be set to
  1088. ; the same string for all web servers running the same application,
  1089. ; the database pool must be configured, and the connection string must
  1090. ; specify to use a pooled server.
  1091. ;oci8.connection_class =
  1092. ; High Availability: Using On lets PHP receive Fast Application
  1093. ; Notification (FAN) events generated when a database node fails. The
  1094. ; database must also be configured to post FAN events.
  1095. ;oci8.events = Off
  1096. ; Tuning: This option enables statement caching, and specifies how
  1097. ; many statements to cache. Using 0 disables statement caching.
  1098. ; http://php.net/oci8.statement-cache-size
  1099. ;oci8.statement_cache_size = 20
  1100. ; Tuning: Enables statement prefetching and sets the default number of
  1101. ; rows that will be fetched automatically after statement execution.
  1102. ; http://php.net/oci8.default-prefetch
  1103. ;oci8.default_prefetch = 100
  1104. ; Compatibility. Using On means oci_close() will not close
  1105. ; oci_connect() and oci_new_connect() connections.
  1106. ; http://php.net/oci8.old-oci-close-semantics
  1107. ;oci8.old_oci_close_semantics = Off
  1108. [PostgreSQL]
  1109. ; Allow or prevent persistent links.
  1110. ; http://php.net/pgsql.allow-persistent
  1111. pgsql.allow_persistent = On
  1112. ; Detect broken persistent links always with pg_pconnect().
  1113. ; Auto reset feature requires a little overheads.
  1114. ; http://php.net/pgsql.auto-reset-persistent
  1115. pgsql.auto_reset_persistent = Off
  1116. ; Maximum number of persistent links. -1 means no limit.
  1117. ; http://php.net/pgsql.max-persistent
  1118. pgsql.max_persistent = -1
  1119. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  1120. ; http://php.net/pgsql.max-links
  1121. pgsql.max_links = -1
  1122. ; Ignore PostgreSQL backends Notice message or not.
  1123. ; Notice message logging require a little overheads.
  1124. ; http://php.net/pgsql.ignore-notice
  1125. pgsql.ignore_notice = 0
  1126. ; Log PostgreSQL backends Notice message or not.
  1127. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  1128. ; http://php.net/pgsql.log-notice
  1129. pgsql.log_notice = 0
  1130. [Sybase-CT]
  1131. ; Allow or prevent persistent links.
  1132. ; http://php.net/sybct.allow-persistent
  1133. sybct.allow_persistent = On
  1134. ; Maximum number of persistent links. -1 means no limit.
  1135. ; http://php.net/sybct.max-persistent
  1136. sybct.max_persistent = -1
  1137. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  1138. ; http://php.net/sybct.max-links
  1139. sybct.max_links = -1
  1140. ; Minimum server message severity to display.
  1141. ; http://php.net/sybct.min-server-severity
  1142. sybct.min_server_severity = 10
  1143. ; Minimum client message severity to display.
  1144. ; http://php.net/sybct.min-client-severity
  1145. sybct.min_client_severity = 10
  1146. ; Set per-context timeout
  1147. ; http://php.net/sybct.timeout
  1148. ;sybct.timeout=
  1149. ;sybct.packet_size
  1150. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
  1151. ; Default: one minute
  1152. ;sybct.login_timeout=
  1153. ; The name of the host you claim to be connecting from, for display by sp_who.
  1154. ; Default: none
  1155. ;sybct.hostname=
  1156. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
  1157. ; Default: 0
  1158. ;sybct.deadlock_retry_count=
  1159. [bcmath]
  1160. ; Number of decimal digits for all bcmath functions.
  1161. ; http://php.net/bcmath.scale
  1162. bcmath.scale = 0
  1163. [browscap]
  1164. ; http://php.net/browscap
  1165. ;browscap = extra/browscap.ini
  1166. [Session]
  1167. ; Handler used to store/retrieve data.
  1168. ; http://php.net/session.save-handler
  1169. session.save_handler = files
  1170. ; Argument passed to save_handler. In the case of files, this is the path
  1171. ; where data files are stored. Note: Windows users have to change this
  1172. ; variable in order to use PHP's session functions.
  1173. ;
  1174. ; The path can be defined as:
  1175. ;
  1176. ; session.save_path = "N;/path"
  1177. ;
  1178. ; where N is an integer. Instead of storing all the session files in
  1179. ; /path, what this will do is use subdirectories N-levels deep, and
  1180. ; store the session data in those directories. This is useful if
  1181. ; your OS has problems with many files in one directory, and is
  1182. ; a more efficient layout for servers that handle many sessions.
  1183. ;
  1184. ; NOTE 1: PHP will not create this directory structure automatically.
  1185. ; You can use the script in the ext/session dir for that purpose.
  1186. ; NOTE 2: See the section on garbage collection below if you choose to
  1187. ; use subdirectories for session storage
  1188. ;
  1189. ; The file storage module creates files using mode 600 by default.
  1190. ; You can change that by using
  1191. ;
  1192. ; session.save_path = "N;MODE;/path"
  1193. ;
  1194. ; where MODE is the octal representation of the mode. Note that this
  1195. ; does not overwrite the process's umask.
  1196. ; http://php.net/session.save-path
  1197. ;session.save_path = "/tmp"
  1198. ; Whether to use strict session mode.
  1199. ; Strict session mode does not accept uninitialized session ID and regenerate
  1200. ; session ID if browser sends uninitialized session ID. Strict mode protects
  1201. ; applications from session fixation via session adoption vulnerability. It is
  1202. ; disabled by default for maximum compatibility, but enabling it is encouraged.
  1203. ; https://wiki.php.net/rfc/strict_sessions
  1204. session.use_strict_mode = 0
  1205. ; Whether to use cookies.
  1206. ; http://php.net/session.use-cookies
  1207. session.use_cookies = 1
  1208. ; http://php.net/session.cookie-secure
  1209. ;session.cookie_secure =
  1210. ; This option forces PHP to fetch and use a cookie for storing and maintaining
  1211. ; the session id. We encourage this operation as it's very helpful in combating
  1212. ; session hijacking when not specifying and managing your own session id. It is
  1213. ; not the be-all and end-all of session hijacking defense, but it's a good start.
  1214. ; http://php.net/session.use-only-cookies
  1215. session.use_only_cookies = 1
  1216. ; Name of the session (used as cookie name).
  1217. ; http://php.net/session.name
  1218. session.name = PHPSESSID
  1219. ; Initialize session on request startup.
  1220. ; http://php.net/session.auto-start
  1221. session.auto_start = 0
  1222. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  1223. ; http://php.net/session.cookie-lifetime
  1224. session.cookie_lifetime = 0
  1225. ; The path for which the cookie is valid.
  1226. ; http://php.net/session.cookie-path
  1227. session.cookie_path = /
  1228. ; The domain for which the cookie is valid.
  1229. ; http://php.net/session.cookie-domain
  1230. session.cookie_domain =
  1231. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
  1232. ; http://php.net/session.cookie-httponly
  1233. session.cookie_httponly =
  1234. ; Handler used to serialize data. php is the standard serializer of PHP.
  1235. ; http://php.net/session.serialize-handler
  1236. session.serialize_handler = php
  1237. ; Defines the probability that the 'garbage collection' process is started
  1238. ; on every session initialization. The probability is calculated by using
  1239. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
  1240. ; and gc_divisor is the denominator in the equation. Setting this value to 1
  1241. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  1242. ; the gc will run on any give request.
  1243. ; Default Value: 1
  1244. ; Development Value: 1
  1245. ; Production Value: 1
  1246. ; http://php.net/session.gc-probability
  1247. session.gc_probability = 1
  1248. ; Defines the probability that the 'garbage collection' process is started on every
  1249. ; session initialization. The probability is calculated by using the following equation:
  1250. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
  1251. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
  1252. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  1253. ; the gc will run on any give request. Increasing this value to 1000 will give you
  1254. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
  1255. ; this is a more efficient approach.
  1256. ; Default Value: 100
  1257. ; Development Value: 1000
  1258. ; Production Value: 1000
  1259. ; http://php.net/session.gc-divisor
  1260. session.gc_divisor = 1000
  1261. ; After this number of seconds, stored data will be seen as 'garbage' and
  1262. ; cleaned up by the garbage collection process.
  1263. ; http://php.net/session.gc-maxlifetime
  1264. session.gc_maxlifetime = 1440
  1265. ; NOTE: If you are using the subdirectory option for storing session files
  1266. ; (see session.save_path above), then garbage collection does *not*
  1267. ; happen automatically. You will need to do your own garbage
  1268. ; collection through a shell script, cron entry, or some other method.
  1269. ; For example, the following script would is the equivalent of
  1270. ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  1271. ; find /path/to/sessions -cmin +24 -type f | xargs rm
  1272. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  1273. ; HTTP_REFERER has to contain this substring for the session to be
  1274. ; considered as valid.
  1275. ; http://php.net/session.referer-check
  1276. session.referer_check =
  1277. ; How many bytes to read from the file.
  1278. ; http://php.net/session.entropy-length
  1279. ;session.entropy_length = 32
  1280. ; Specified here to create the session id.
  1281. ; http://php.net/session.entropy-file
  1282. ; Defaults to /dev/urandom
  1283. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
  1284. ; If neither are found at compile time, the default is no entropy file.
  1285. ; On windows, setting the entropy_length setting will activate the
  1286. ; Windows random source (using the CryptoAPI)
  1287. ;session.entropy_file = /dev/urandom
  1288. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  1289. ; or leave this empty to avoid sending anti-caching headers.
  1290. ; http://php.net/session.cache-limiter
  1291. session.cache_limiter = nocache
  1292. ; Document expires after n minutes.
  1293. ; http://php.net/session.cache-expire
  1294. session.cache_expire = 180
  1295. ; trans sid support is disabled by default.
  1296. ; Use of trans sid may risk your users' security.
  1297. ; Use this option with caution.
  1298. ; - User may send URL contains active session ID
  1299. ; to other person via. email/irc/etc.
  1300. ; - URL that contains active session ID may be stored
  1301. ; in publicly accessible computer.
  1302. ; - User may access your site with the same session ID
  1303. ; always using URL stored in browser's history or bookmarks.
  1304. ; http://php.net/session.use-trans-sid
  1305. session.use_trans_sid = 0
  1306. ; Select a hash function for use in generating session ids.
  1307. ; Possible Values
  1308. ; 0 (MD5 128 bits)
  1309. ; 1 (SHA-1 160 bits)
  1310. ; This option may also be set to the name of any hash function supported by
  1311. ; the hash extension. A list of available hashes is returned by the hash_algos()
  1312. ; function.
  1313. ; http://php.net/session.hash-function
  1314. session.hash_function = 0
  1315. ; Define how many bits are stored in each character when converting
  1316. ; the binary hash data to something readable.
  1317. ; Possible values:
  1318. ; 4 (4 bits: 0-9, a-f)
  1319. ; 5 (5 bits: 0-9, a-v)
  1320. ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
  1321. ; Default Value: 4
  1322. ; Development Value: 5
  1323. ; Production Value: 5
  1324. ; http://php.net/session.hash-bits-per-character
  1325. session.hash_bits_per_character = 5
  1326. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  1327. ; form/fieldset are special; if you include them here, the rewriter will
  1328. ; add a hidden <input> field with the info which is otherwise appended
  1329. ; to URLs. If you want XHTML conformity, remove the form entry.
  1330. ; Note that all valid entries require a "=", even if no value follows.
  1331. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
  1332. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  1333. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  1334. ; http://php.net/url-rewriter.tags
  1335. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  1336. ; Enable upload progress tracking in $_SESSION
  1337. ; Default Value: On
  1338. ; Development Value: On
  1339. ; Production Value: On
  1340. ; http://php.net/session.upload-progress.enabled
  1341. ;session.upload_progress.enabled = On
  1342. ; Cleanup the progress information as soon as all POST data has been read
  1343. ; (i.e. upload completed).
  1344. ; Default Value: On
  1345. ; Development Value: On
  1346. ; Production Value: On
  1347. ; http://php.net/session.upload-progress.cleanup
  1348. ;session.upload_progress.cleanup = On
  1349. ; A prefix used for the upload progress key in $_SESSION
  1350. ; Default Value: "upload_progress_"
  1351. ; Development Value: "upload_progress_"
  1352. ; Production Value: "upload_progress_"
  1353. ; http://php.net/session.upload-progress.prefix
  1354. ;session.upload_progress.prefix = "upload_progress_"
  1355. ; The index name (concatenated with the prefix) in $_SESSION
  1356. ; containing the upload progress information
  1357. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
  1358. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
  1359. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
  1360. ; http://php.net/session.upload-progress.name
  1361. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
  1362. ; How frequently the upload progress should be updated.
  1363. ; Given either in percentages (per-file), or in bytes
  1364. ; Default Value: "1%"
  1365. ; Development Value: "1%"
  1366. ; Production Value: "1%"
  1367. ; http://php.net/session.upload-progress.freq
  1368. ;session.upload_progress.freq = "1%"
  1369. ; The minimum delay between updates, in seconds
  1370. ; Default Value: 1
  1371. ; Development Value: 1
  1372. ; Production Value: 1
  1373. ; http://php.net/session.upload-progress.min-freq
  1374. ;session.upload_progress.min_freq = "1"
  1375. [MSSQL]
  1376. ; Allow or prevent persistent links.
  1377. mssql.allow_persistent = On
  1378. ; Maximum number of persistent links. -1 means no limit.
  1379. mssql.max_persistent = -1
  1380. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  1381. mssql.max_links = -1
  1382. ; Minimum error severity to display.
  1383. mssql.min_error_severity = 10
  1384. ; Minimum message severity to display.
  1385. mssql.min_message_severity = 10
  1386. ; Compatibility mode with old versions of PHP 3.0.
  1387. mssql.compatibility_mode = Off
  1388. ; Connect timeout
  1389. ;mssql.connect_timeout = 5
  1390. ; Query timeout
  1391. ;mssql.timeout = 60
  1392. ; Valid range 0 - 2147483647. Default = 4096.
  1393. ;mssql.textlimit = 4096
  1394. ; Valid range 0 - 2147483647. Default = 4096.
  1395. ;mssql.textsize = 4096
  1396. ; Limits the number of records in each batch. 0 = all records in one batch.
  1397. ;mssql.batchsize = 0
  1398. ; Specify how datetime and datetim4 columns are returned
  1399. ; On => Returns data converted to SQL server settings
  1400. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
  1401. ;mssql.datetimeconvert = On
  1402. ; Use NT authentication when connecting to the server
  1403. mssql.secure_connection = Off
  1404. ; Specify max number of processes. -1 = library default
  1405. ; msdlib defaults to 25
  1406. ; FreeTDS defaults to 4096
  1407. ;mssql.max_procs = -1
  1408. ; Specify client character set.
  1409. ; If empty or not set the client charset from freetds.conf is used
  1410. ; This is only used when compiled with FreeTDS
  1411. ;mssql.charset = "ISO-8859-1"
  1412. [Assertion]
  1413. ; Assert(expr); active by default.
  1414. ; http://php.net/assert.active
  1415. ;assert.active = On
  1416. ; Issue a PHP warning for each failed assertion.
  1417. ; http://php.net/assert.warning
  1418. ;assert.warning = On
  1419. ; Don't bail out by default.
  1420. ; http://php.net/assert.bail
  1421. ;assert.bail = Off
  1422. ; User-function to be called if an assertion fails.
  1423. ; http://php.net/assert.callback
  1424. ;assert.callback = 0
  1425. ; Eval the expression with current error_reporting(). Set to true if you want
  1426. ; error_reporting(0) around the eval().
  1427. ; http://php.net/assert.quiet-eval
  1428. ;assert.quiet_eval = 0
  1429. [COM]
  1430. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  1431. ; http://php.net/com.typelib-file
  1432. ;com.typelib_file =
  1433. ; allow Distributed-COM calls
  1434. ; http://php.net/com.allow-dcom
  1435. ;com.allow_dcom = true
  1436. ; autoregister constants of a components typlib on com_load()
  1437. ; http://php.net/com.autoregister-typelib
  1438. ;com.autoregister_typelib = true
  1439. ; register constants casesensitive
  1440. ; http://php.net/com.autoregister-casesensitive
  1441. ;com.autoregister_casesensitive = false
  1442. ; show warnings on duplicate constant registrations
  1443. ; http://php.net/com.autoregister-verbose
  1444. ;com.autoregister_verbose = true
  1445. ; The default character set code-page to use when passing strings to and from COM objects.
  1446. ; Default: system ANSI code page
  1447. ;com.code_page=
  1448. [mbstring]
  1449. ; language for internal character representation.
  1450. ; This affects mb_send_mail() and mbstrig.detect_order.
  1451. ; http://php.net/mbstring.language
  1452. ;mbstring.language = Japanese
  1453. ; Use of this INI entry is deprecated, use global internal_encoding instead.
  1454. ; internal/script encoding.
  1455. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
  1456. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
  1457. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
  1458. ;mbstring.internal_encoding =
  1459. ; Use of this INI entry is deprecated, use global input_encoding instead.
  1460. ; http input encoding.
  1461. ; mbstring.encoding_traslation = On is needed to use this setting.
  1462. ; If empty, default_charset or input_encoding or mbstring.input is used.
  1463. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
  1464. ; http://php.net/mbstring.http-input
  1465. ;mbstring.http_input =
  1466. ; Use of this INI entry is deprecated, use global output_encoding instead.
  1467. ; http output encoding.
  1468. ; mb_output_handler must be registered as output buffer to function.
  1469. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
  1470. ; The precedence is: default_charset < output_encoding < mbstring.http_output
  1471. ; To use an output encoding conversion, mbstring's output handler must be set
  1472. ; otherwise output encoding conversion cannot be performed.
  1473. ; http://php.net/mbstring.http-output
  1474. ;mbstring.http_output =
  1475. ; enable automatic encoding translation according to
  1476. ; mbstring.internal_encoding setting. Input chars are
  1477. ; converted to internal encoding by setting this to On.
  1478. ; Note: Do _not_ use automatic encoding translation for
  1479. ; portable libs/applications.
  1480. ; http://php.net/mbstring.encoding-translation
  1481. ;mbstring.encoding_translation = Off
  1482. ; automatic encoding detection order.
  1483. ; "auto" detect order is changed according to mbstring.language
  1484. ; http://php.net/mbstring.detect-order
  1485. ;mbstring.detect_order = auto
  1486. ; substitute_character used when character cannot be converted
  1487. ; one from another
  1488. ; http://php.net/mbstring.substitute-character
  1489. ;mbstring.substitute_character = none
  1490. ; overload(replace) single byte functions by mbstring functions.
  1491. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1492. ; etc. Possible values are 0,1,2,4 or combination of them.
  1493. ; For example, 7 for overload everything.
  1494. ; 0: No overload
  1495. ; 1: Overload mail() function
  1496. ; 2: Overload str*() functions
  1497. ; 4: Overload ereg*() functions
  1498. ; http://php.net/mbstring.func-overload
  1499. ;mbstring.func_overload = 0
  1500. ; enable strict encoding detection.
  1501. ; Default: Off
  1502. ;mbstring.strict_detection = On
  1503. ; This directive specifies the regex pattern of content types for which mb_output_handler()
  1504. ; is activated.
  1505. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
  1506. ;mbstring.http_output_conv_mimetype=
  1507. [gd]
  1508. ; Tell the jpeg decode to ignore warnings and try to create
  1509. ; a gd image. The warning will then be displayed as notices
  1510. ; disabled by default
  1511. ; http://php.net/gd.jpeg-ignore-warning
  1512. ;gd.jpeg_ignore_warning = 0
  1513. [exif]
  1514. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  1515. ; With mbstring support this will automatically be converted into the encoding
  1516. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  1517. ; is used. For the decode settings you can distinguish between motorola and
  1518. ; intel byte order. A decode setting cannot be empty.
  1519. ; http://php.net/exif.encode-unicode
  1520. ;exif.encode_unicode = ISO-8859-15
  1521. ; http://php.net/exif.decode-unicode-motorola
  1522. ;exif.decode_unicode_motorola = UCS-2BE
  1523. ; http://php.net/exif.decode-unicode-intel
  1524. ;exif.decode_unicode_intel = UCS-2LE
  1525. ; http://php.net/exif.encode-jis
  1526. ;exif.encode_jis =
  1527. ; http://php.net/exif.decode-jis-motorola
  1528. ;exif.decode_jis_motorola = JIS
  1529. ; http://php.net/exif.decode-jis-intel
  1530. ;exif.decode_jis_intel = JIS
  1531. [Tidy]
  1532. ; The path to a default tidy configuration file to use when using tidy
  1533. ; http://php.net/tidy.default-config
  1534. ;tidy.default_config = /usr/local/lib/php/default.tcfg
  1535. ; Should tidy clean and repair output automatically?
  1536. ; WARNING: Do not use this option if you are generating non-html content
  1537. ; such as dynamic images
  1538. ; http://php.net/tidy.clean-output
  1539. tidy.clean_output = Off
  1540. [soap]
  1541. ; Enables or disables WSDL caching feature.
  1542. ; http://php.net/soap.wsdl-cache-enabled
  1543. soap.wsdl_cache_enabled=1
  1544. ; Sets the directory name where SOAP extension will put cache files.
  1545. ; http://php.net/soap.wsdl-cache-dir
  1546. soap.wsdl_cache_dir="/tmp"
  1547. ; (time to live) Sets the number of second while cached file will be used
  1548. ; instead of original one.
  1549. ; http://php.net/soap.wsdl-cache-ttl
  1550. soap.wsdl_cache_ttl=86400
  1551. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
  1552. soap.wsdl_cache_limit = 5
  1553. [sysvshm]
  1554. ; A default size of the shared memory segment
  1555. ;sysvshm.init_mem = 10000
  1556. [ldap]
  1557. ; Sets the maximum number of open links or -1 for unlimited.
  1558. ldap.max_links = -1
  1559. [mcrypt]
  1560. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
  1561. ; Directory where to load mcrypt algorithms
  1562. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  1563. ;mcrypt.algorithms_dir=
  1564. ; Directory where to load mcrypt modes
  1565. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  1566. ;mcrypt.modes_dir=
  1567. [dba]
  1568. ;dba.default_handler=
  1569. [opcache]
  1570. ; Determines if Zend OPCache is enabled
  1571. ;opcache.enable=0
  1572. ; Determines if Zend OPCache is enabled for the CLI version of PHP
  1573. ;opcache.enable_cli=0
  1574. ; The OPcache shared memory storage size.
  1575. ;opcache.memory_consumption=64
  1576. ; The amount of memory for interned strings in Mbytes.
  1577. ;opcache.interned_strings_buffer=4
  1578. ; The maximum number of keys (scripts) in the OPcache hash table.
  1579. ; Only numbers between 200 and 100000 are allowed.
  1580. ;opcache.max_accelerated_files=2000
  1581. ; The maximum percentage of "wasted" memory until a restart is scheduled.
  1582. ;opcache.max_wasted_percentage=5
  1583. ; When this directive is enabled, the OPcache appends the current working
  1584. ; directory to the script key, thus eliminating possible collisions between
  1585. ; files with the same name (basename). Disabling the directive improves
  1586. ; performance, but may break existing applications.
  1587. ;opcache.use_cwd=1
  1588. ; When disabled, you must reset the OPcache manually or restart the
  1589. ; webserver for changes to the filesystem to take effect.
  1590. ;opcache.validate_timestamps=1
  1591. ; How often (in seconds) to check file timestamps for changes to the shared
  1592. ; memory storage allocation. ("1" means validate once per second, but only
  1593. ; once per request. "0" means always validate)
  1594. ;opcache.revalidate_freq=2
  1595. ; Enables or disables file search in include_path optimization
  1596. ;opcache.revalidate_path=0
  1597. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
  1598. ; size of the optimized code.
  1599. ;opcache.save_comments=1
  1600. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
  1601. ; may be always stored (save_comments=1), but not loaded by applications
  1602. ; that don't need them anyway.
  1603. ;opcache.load_comments=1
  1604. ; If enabled, a fast shutdown sequence is used for the accelerated code
  1605. ;opcache.fast_shutdown=0
  1606. ; Allow file existence override (file_exists, etc.) performance feature.
  1607. ;opcache.enable_file_override=0
  1608. ; A bitmask, where each bit enables or disables the appropriate OPcache
  1609. ; passes
  1610. ;opcache.optimization_level=0xffffffff
  1611. ;opcache.inherited_hack=1
  1612. ;opcache.dups_fix=0
  1613. ; The location of the OPcache blacklist file (wildcards allowed).
  1614. ; Each OPcache blacklist file is a text file that holds the names of files
  1615. ; that should not be accelerated. The file format is to add each filename
  1616. ; to a new line. The filename may be a full path or just a file prefix
  1617. ; (i.e., /var/www/x blacklists all the files and directories in /var/www
  1618. ; that start with 'x'). Line starting with a ; are ignored (comments).
  1619. ;opcache.blacklist_filename=
  1620. ; Allows exclusion of large files from being cached. By default all files
  1621. ; are cached.
  1622. ;opcache.max_file_size=0
  1623. ; Check the cache checksum each N requests.
  1624. ; The default value of "0" means that the checks are disabled.
  1625. ;opcache.consistency_checks=0
  1626. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
  1627. ; is not being accessed.
  1628. ;opcache.force_restart_timeout=180
  1629. ; OPcache error_log file name. Empty string assumes "stderr".
  1630. ;opcache.error_log=
  1631. ; All OPcache errors go to the Web server log.
  1632. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
  1633. ; You can also enable warnings (level 2), info messages (level 3) or
  1634. ; debug messages (level 4).
  1635. ;opcache.log_verbosity_level=1
  1636. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
  1637. ;opcache.preferred_memory_model=
  1638. ; Protect the shared memory from unexpected writing during script execution.
  1639. ; Useful for internal debugging only.
  1640. ;opcache.protect_memory=0
  1641. ; Validate cached file permissions.
  1642. ; opcache.validate_permission=0
  1643. ; Prevent name collisions in chroot'ed environment.
  1644. ; opcache.validate_root=0
  1645. [curl]
  1646. ; A default value for the CURLOPT_CAINFO option. This is required to be an
  1647. ; absolute path.
  1648. ;curl.cainfo =
  1649. [openssl]
  1650. ; The location of a Certificate Authority (CA) file on the local filesystem
  1651. ; to use when verifying the identity of SSL/TLS peers. Most users should
  1652. ; not specify a value for this directive as PHP will attempt to use the
  1653. ; OS-managed cert stores in its absence. If specified, this value may still
  1654. ; be overridden on a per-stream basis via the "cafile" SSL stream context
  1655. ; option.
  1656. ;openssl.cafile=
  1657. ; If openssl.cafile is not specified or if the CA file is not found, the
  1658. ; directory pointed to by openssl.capath is searched for a suitable
  1659. ; certificate. This value must be a correctly hashed certificate directory.
  1660. ; Most users should not specify a value for this directive as PHP will
  1661. ; attempt to use the OS-managed cert stores in its absence. If specified,
  1662. ; this value may still be overridden on a per-stream basis via the "capath"
  1663. ; SSL stream context option.
  1664. ;openssl.capath=
  1665. ; Local Variables:
  1666. ; tab-width: 4
  1667. ; End: