You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1892 lines
68 KiB

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