php.ini 67 KB

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