Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

php.ini 71KB

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