yeahhub

Default PHP (7.1)

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