vishnujaju

PHP.INI_Global

Feb 8th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 61.08 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 = 0
  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 = 90
  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 = 256M
  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 = "error_log"
  574. ; Log errors to syslog.
  575.  
  576. ;windows.show_crt_warning
  577. ; Default value: 0
  578. ; Development value: 0
  579. ; Production value: 0
  580.  
  581. ;;;;;;;;;;;;;;;;;
  582. ; Data Handling ;
  583. ;;;;;;;;;;;;;;;;;
  584.  
  585. ; The separator used in PHP generated URLs to separate arguments.
  586. ; PHP's default setting is "&".
  587. ; http://php.net/arg-separator.output
  588. ; Example:
  589. ;arg_separator.output = "&amp;"
  590.  
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
  592. ; PHP's default setting is "&".
  593. ; NOTE: Every character in this directive is considered as separator!
  594. ; http://php.net/arg-separator.input
  595. ; Example:
  596. ;arg_separator.input = ";&"
  597.  
  598. ; This directive determines which super global arrays are registered when PHP
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
  601. ; paid for the registration of these arrays and because ENV is not as commonly
  602. ; used as the others, ENV is not recommended on productions servers. You
  603. ; can still get access to the environment variables through getenv() should you
  604. ; need to.
  605. ; Default Value: "EGPCS"
  606. ; Development Value: "GPCS"
  607. ; Production Value: "GPCS";
  608. ; http://php.net/variables-order
  609. variables_order = "GPCS"
  610.  
  611. ; This directive determines which super global data (G,P & C) should be
  612. ; registered into the super global array REQUEST. If so, it also determines
  613. ; the order in which that data is registered. The values for this directive
  614. ; are specified in the same manner as the variables_order directive,
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
  616. ; in the variables_order directive. It does not mean it will leave the super
  617. ; globals array REQUEST empty.
  618. ; Default Value: None
  619. ; Development Value: "GP"
  620. ; Production Value: "GP"
  621. ; http://php.net/request-order
  622. request_order = "GP"
  623.  
  624. ; This directive determines whether PHP registers $argv & $argc each time it
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
  626. ; is invoked. $argc contains an integer representing the number of arguments
  627. ; that were passed when the script was invoked. These arrays are extremely
  628. ; useful when running scripts from the command line. When this directive is
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
  630. ; a script is executed. For performance reasons, this feature should be disabled
  631. ; on production servers.
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
  633. ; Default Value: On
  634. ; Development Value: Off
  635. ; Production Value: Off
  636. ; http://php.net/register-argc-argv
  637. register_argc_argv = On
  638.  
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
  640. ; first used (Just In Time) instead of when the script starts. If these
  641. ; variables are not used within a script, having this directive on will result
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
  643. ; for this directive to have any affect.
  644. ; http://php.net/auto-globals-jit
  645. auto_globals_jit = On
  646.  
  647. ; Whether PHP will read the POST data.
  648. ; This option is enabled by default.
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
  650. ; and $_FILES to always be empty; the only way you will be able to read the
  651. ; POST data will be through the php://input stream wrapper. This can be useful
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
  653. ; http://php.net/enable-post-data-reading
  654. ;enable_post_data_reading = Off
  655.  
  656. ; Maximum size of POST data that PHP will accept.
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
  658. ; is disabled through enable_post_data_reading.
  659. ; http://php.net/post-max-size
  660. post_max_size = 256M
  661.  
  662. ; Automatically add files before PHP document.
  663. ; http://php.net/auto-prepend-file
  664. auto_prepend_file = ""
  665.  
  666. ; Automatically add files after PHP document.
  667. ; http://php.net/auto-append-file
  668. auto_append_file = ""
  669.  
  670. ; By default, PHP will output a character encoding using
  671. ; the Content-type: header. To disable sending of the charset, simply
  672. ; set it to be empty.
  673. ;
  674. ; PHP's built-in default is text/html
  675. ; http://php.net/default-mimetype
  676. default_mimetype = "text/html"
  677.  
  678. ; PHP's default character set is set to UTF-8.
  679. ; http://php.net/default-charset
  680. default_charset = "UTF-8"
  681.  
  682. ; PHP internal character encoding is set to empty.
  683. ; If empty, default_charset is used.
  684. ; http://php.net/internal-encoding
  685. ;internal_encoding =
  686.  
  687. ; PHP input character encoding is set to empty.
  688. ; If empty, default_charset is used.
  689. ; http://php.net/input-encoding
  690. ;input_encoding =
  691.  
  692. ; PHP output character encoding is set to empty.
  693. ; If empty, default_charset is used.
  694. ; mbstring or iconv output handler is used.
  695. ; See also output_buffer.
  696. ; http://php.net/output-encoding
  697. ;output_encoding =
  698.  
  699. ;;;;;;;;;;;;;;;;;;;;;;;;;
  700. ; Paths and Directories ;
  701. ;;;;;;;;;;;;;;;;;;;;;;;;;
  702.  
  703. ; UNIX: "/path1:/path2"
  704. ;include_path = ".:/php/includes"
  705. ;
  706. ; Windows: "\path1;\path2"
  707. ;include_path = ".;c:\php\includes"
  708. ;
  709. ; PHP's default setting for include_path is ".;/path/to/php/pear"
  710. ; http://php.net/include-path
  711.  
  712. ; The root of the PHP pages, used only if nonempty.
  713. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  714. ; if you are running php as a CGI under any web server (other than IIS)
  715. ; see documentation for security issues. The alternate is to use the
  716. ; cgi.force_redirect configuration below
  717. ; http://php.net/doc-root
  718. doc_root = ""
  719.  
  720. ; The directory under which PHP opens the script using /~username used only
  721. ; if nonempty.
  722. ; http://php.net/user-dir
  723. user_dir = ""
  724.  
  725. ; Directory in which the loadable extensions (modules) reside.
  726. ; http://php.net/extension-dir
  727. ; extension_dir = "./"
  728. ; On windows:
  729. ; extension_dir = "ext"
  730.  
  731. ; Directory where the temporary files should be placed.
  732. ; Defaults to the system default (see sys_get_temp_dir)
  733. ; sys_temp_dir = "/tmp"
  734.  
  735. ; Whether or not to enable the dl() function. The dl() function does NOT work
  736. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  737. ; disabled on them.
  738. ; http://php.net/enable-dl
  739. enable_dl = Off
  740.  
  741. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  742. ; most web servers. Left undefined, PHP turns this on by default. You can
  743. ; turn it off here AT YOUR OWN RISK
  744. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  745. ; http://php.net/cgi.force-redirect
  746. ;cgi.force_redirect = 1
  747.  
  748. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
  749. ; every request. PHP's default behavior is to disable this feature.
  750. ;cgi.nph = 1
  751.  
  752. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
  753. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  754. ; will look for to know it is OK to continue execution. Setting this variable MAY
  755. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  756. ; http://php.net/cgi.redirect-status-env
  757. ;cgi.redirect_status_env =
  758.  
  759. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
  760. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
  761. ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
  762. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
  763. ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
  764. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
  765. ; http://php.net/cgi.fix-pathinfo
  766. ;cgi.fix_pathinfo=1
  767.  
  768. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  769. ; security tokens of the calling client. This allows IIS to define the
  770. ; security context that the request runs under. mod_fastcgi under Apache
  771. ; does not currently support this feature (03/17/2002)
  772. ; Set to 1 if running under IIS. Default is zero.
  773. ; http://php.net/fastcgi.impersonate
  774. ;fastcgi.impersonate = 1
  775.  
  776. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
  777. ; this feature.
  778. ;fastcgi.logging = 0
  779.  
  780. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  781. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
  782. ; is supported by Apache. When this option is set to 1, PHP will send
  783. ; RFC2616 compliant header.
  784. ; Default is zero.
  785. ; http://php.net/cgi.rfc2616-headers
  786. ;cgi.rfc2616_headers = 0
  787.  
  788. ;;;;;;;;;;;;;;;;
  789. ; File Uploads ;
  790. ;;;;;;;;;;;;;;;;
  791.  
  792. ; Whether to allow HTTP file uploads.
  793. ; http://php.net/file-uploads
  794. file_uploads = On
  795.  
  796. ; Temporary directory for HTTP uploaded files (will use system default if not
  797. ; specified).
  798. ; http://php.net/upload-tmp-dir
  799. ;upload_tmp_dir =
  800.  
  801. ; Maximum allowed size for uploaded files.
  802. ; http://php.net/upload-max-filesize
  803. upload_max_filesize = 256M
  804.  
  805. ; Maximum number of files that can be uploaded via a single request
  806. max_file_uploads = 20
  807.  
  808. ;;;;;;;;;;;;;;;;;;
  809. ; Fopen wrappers ;
  810. ;;;;;;;;;;;;;;;;;;
  811.  
  812. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  813. ; http://php.net/allow-url-fopen
  814. allow_url_fopen = On
  815.  
  816. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
  817. ; http://php.net/allow-url-include
  818. allow_url_include = Off
  819.  
  820. ; Define the anonymous ftp password (your email address). PHP's default setting
  821. ; for this is empty.
  822. ; http://php.net/from
  823. ;from="john@doe.com"
  824.  
  825. ; Define the User-Agent string. PHP's default setting for this is empty.
  826. ; http://php.net/user-agent
  827. ;user_agent="PHP"
  828.  
  829. ; Default timeout for socket based streams (seconds)
  830. ; http://php.net/default-socket-timeout
  831. default_socket_timeout = 60
  832.  
  833. ; If your scripts have to deal with files from Macintosh systems,
  834. ; or you are running on a Mac and need to deal with files from
  835. ; unix or win32 systems, setting this flag will cause PHP to
  836. ; automatically detect the EOL character in those files so that
  837. ; fgets() and file() will work regardless of the source of the file.
  838. ; http://php.net/auto-detect-line-endings
  839. ;auto_detect_line_endings = Off
  840.  
  841. ;;;;;;;;;;;;;;;;;;;;;;
  842. ; Dynamic Extensions ;
  843. ;;;;;;;;;;;;;;;;;;;;;;
  844.  
  845. ; If you wish to have an extension loaded automatically, use the following
  846. ; syntax:
  847. ;
  848. ; extension=modulename.extension
  849. ;
  850. ; For example, on Windows:
  851. ;
  852. ; extension=msql.dll
  853. ;
  854. ; ... or under UNIX:
  855. ;
  856. ; extension=msql.so
  857. ;
  858. ; ... or with a path:
  859. ;
  860. ; extension=/path/to/extension/msql.so
  861. ;
  862. ; If you only provide the name of the extension, PHP will look for it in its
  863. ; default extension directory.
  864.  
  865. ;;;;
  866. ; Note: packaged extension modules are now loaded via the .ini files
  867. ; found in the directory /etc/php.d; these are loaded by default.
  868. ;;;;
  869.  
  870. ;;;;;;;;;;;;;;;;;;;
  871. ; Module Settings ;
  872. ;;;;;;;;;;;;;;;;;;;
  873.  
  874. [CLI Server]
  875. ; Whether the CLI web server uses ANSI color coding in its terminal output.
  876. cli_server.color = On
  877.  
  878. [Date]
  879. ; Defines the default timezone used by the date functions
  880. ; http://php.net/date.timezone
  881. date.timezone = "UTC"
  882.  
  883. ; http://php.net/date.default-latitude
  884. ;date.default_latitude = 31.7667
  885.  
  886. ; http://php.net/date.default-longitude
  887. ;date.default_longitude = 35.2333
  888.  
  889. ; http://php.net/date.sunrise-zenith
  890. ;date.sunrise_zenith = 90.583333
  891.  
  892. ; http://php.net/date.sunset-zenith
  893. ;date.sunset_zenith = 90.583333
  894.  
  895. [filter]
  896. ; http://php.net/filter.default
  897. ;filter.default = unsafe_raw
  898.  
  899. ; http://php.net/filter.default-flags
  900. ;filter.default_flags =
  901.  
  902. [iconv]
  903. ; Use of this INI entry is deprecated, use global input_encoding instead.
  904. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
  905. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
  906. ;iconv.input_encoding =
  907.  
  908. ; Use of this INI entry is deprecated, use global internal_encoding instead.
  909. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
  910. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
  911. ;iconv.internal_encoding =
  912.  
  913. ; Use of this INI entry is deprecated, use global output_encoding instead.
  914. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
  915. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
  916. ; To use an output encoding conversion, iconv's output handler must be set
  917. ; otherwise output encoding conversion cannot be performed.
  918. ;iconv.output_encoding =
  919.  
  920. [intl]
  921. ;intl.default_locale =
  922. ; This directive allows you to produce PHP errors when some error
  923. ; happens within intl functions. The value is the level of the error produced.
  924. ; Default is 0, which does not produce any errors.
  925. ;intl.error_level = E_WARNING
  926.  
  927. [sqlite]
  928. ; http://php.net/sqlite.assoc-case
  929. ;sqlite.assoc_case = 0
  930.  
  931. [sqlite3]
  932. ;sqlite3.extension_dir =
  933.  
  934. [Pcre]
  935. ;PCRE library backtracking limit.
  936. ; http://php.net/pcre.backtrack-limit
  937. ;pcre.backtrack_limit=100000
  938.  
  939. ;PCRE library recursion limit.
  940. ;Please note that if you set this value to a high number you may consume all
  941. ;the available process stack and eventually crash PHP (due to reaching the
  942. ;stack size limit imposed by the Operating System).
  943. ; http://php.net/pcre.recursion-limit
  944. ;pcre.recursion_limit=100000
  945.  
  946. ;Enables or disables JIT compilation of patterns. This requires the PCRE
  947. ;library to be compiled with JIT support.
  948. ;pcre.jit=1
  949.  
  950. [Pdo]
  951. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
  952. ; http://php.net/pdo-odbc.connection-pooling
  953. ;pdo_odbc.connection_pooling=strict
  954.  
  955. ;pdo_odbc.db2_instance_name
  956.  
  957. [Pdo_mysql]
  958. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  959. ; http://php.net/pdo_mysql.cache_size
  960. pdo_mysql.cache_size = 2000
  961.  
  962. ; Default socket name for local MySQL connects. If empty, uses the built-in
  963. ; MySQL defaults.
  964. ; http://php.net/pdo_mysql.default-socket
  965. pdo_mysql.default_socket =
  966.  
  967. [Phar]
  968. ; http://php.net/phar.readonly
  969. ;phar.readonly = On
  970.  
  971. ; http://php.net/phar.require-hash
  972. ;phar.require_hash = On
  973.  
  974. ;phar.cache_list =
  975.  
  976. [mail function]
  977. ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
  978. ; http://php.net/sendmail-path
  979. sendmail_path = "/usr/sbin/sendmail -t -i"
  980.  
  981. ; Force the addition of the specified parameters to be passed as extra parameters
  982. ; to the sendmail binary. These parameters will always replace the value of
  983. ; the 5th parameter to mail().
  984. ;mail.force_extra_parameters =
  985.  
  986. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
  987. mail.add_x_header = On
  988.  
  989. ; The path to a log file that will log all mail() calls. Log entries include
  990. ; the full path of the script, line number, To address and headers.
  991. ;mail.log =
  992. ; Log mail to syslog;
  993. ;mail.log = syslog
  994.  
  995. [SQL]
  996. ; http://php.net/sql.safe-mode
  997. sql.safe_mode = Off
  998.  
  999. [ODBC]
  1000. ; http://php.net/odbc.default-db
  1001. ;odbc.default_db = Not yet implemented
  1002.  
  1003. ; http://php.net/odbc.default-user
  1004. ;odbc.default_user = Not yet implemented
  1005.  
  1006. ; http://php.net/odbc.default-pw
  1007. ;odbc.default_pw = Not yet implemented
  1008.  
  1009. ; Controls the ODBC cursor model.
  1010. ; Default: SQL_CURSOR_STATIC (default).
  1011. ;odbc.default_cursortype
  1012.  
  1013. ; Allow or prevent persistent links.
  1014. ; http://php.net/odbc.allow-persistent
  1015. odbc.allow_persistent = On
  1016.  
  1017. ; Check that a connection is still valid before reuse.
  1018. ; http://php.net/odbc.check-persistent
  1019. odbc.check_persistent = On
  1020.  
  1021. ; Maximum number of persistent links. -1 means no limit.
  1022. ; http://php.net/odbc.max-persistent
  1023. odbc.max_persistent = -1
  1024.  
  1025. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  1026. ; http://php.net/odbc.max-links
  1027. odbc.max_links = -1
  1028.  
  1029. ; Handling of LONG fields. Returns number of bytes to variables. 0 means
  1030. ; passthru.
  1031. ; http://php.net/odbc.defaultlrl
  1032. odbc.defaultlrl = 4096
  1033.  
  1034. ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
  1035. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  1036. ; of odbc.defaultlrl and odbc.defaultbinmode
  1037. ; http://php.net/odbc.defaultbinmode
  1038. odbc.defaultbinmode = 1
  1039.  
  1040. ;birdstep.max_links = -1
  1041.  
  1042. [Interbase]
  1043. ; Allow or prevent persistent links.
  1044. ibase.allow_persistent = On
  1045.  
  1046. ; Maximum number of persistent links. -1 means no limit.
  1047. ibase.max_persistent = -1
  1048.  
  1049. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  1050. ibase.max_links = -1
  1051.  
  1052. ; Default database name for ibase_connect().
  1053. ;ibase.default_db =
  1054.  
  1055. ; Default username for ibase_connect().
  1056. ;ibase.default_user =
  1057.  
  1058. ; Default password for ibase_connect().
  1059. ;ibase.default_password =
  1060.  
  1061. ; Default charset for ibase_connect().
  1062. ;ibase.default_charset =
  1063.  
  1064. ; Default timestamp format.
  1065. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
  1066.  
  1067. ; Default date format.
  1068. ibase.dateformat = "%Y-%m-%d"
  1069.  
  1070. ; Default time format.
  1071. ibase.timeformat = "%H:%M:%S"
  1072.  
  1073. [MySQLi]
  1074.  
  1075. ; Maximum number of persistent links. -1 means no limit.
  1076. ; http://php.net/mysqli.max-persistent
  1077. mysqli.max_persistent = -1
  1078.  
  1079. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
  1080. ; http://php.net/mysqli.allow_local_infile
  1081. ;mysqli.allow_local_infile = On
  1082.  
  1083. ; Allow or prevent persistent links.
  1084. ; http://php.net/mysqli.allow-persistent
  1085. mysqli.allow_persistent = On
  1086.  
  1087. ; Maximum number of links. -1 means no limit.
  1088. ; http://php.net/mysqli.max-links
  1089. mysqli.max_links = -1
  1090.  
  1091. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  1092. ; http://php.net/mysqli.cache_size
  1093. mysqli.cache_size = 2000
  1094.  
  1095. ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
  1096. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  1097. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  1098. ; at MYSQL_PORT.
  1099. ; http://php.net/mysqli.default-port
  1100. mysqli.default_port = 3306
  1101.  
  1102. ; Default socket name for local MySQL connects. If empty, uses the built-in
  1103. ; MySQL defaults.
  1104. ; http://php.net/mysqli.default-socket
  1105. mysqli.default_socket = ""
  1106.  
  1107. ; Default host for mysql_connect() (doesn't apply in safe mode).
  1108. ; http://php.net/mysqli.default-host
  1109. mysqli.default_host = ""
  1110.  
  1111. ; Default user for mysql_connect() (doesn't apply in safe mode).
  1112. ; http://php.net/mysqli.default-user
  1113. mysqli.default_user = ""
  1114.  
  1115. ; Default password for mysqli_connect() (doesn't apply in safe mode).
  1116. ; Note that this is generally a *bad* idea to store passwords in this file.
  1117. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
  1118. ; and reveal this password! And of course, any users with read access to this
  1119. ; file will be able to reveal the password as well.
  1120. ; http://php.net/mysqli.default-pw
  1121. mysqli.default_pw = ""
  1122.  
  1123. ; Allow or prevent reconnect
  1124. mysqli.reconnect = 0
  1125.  
  1126. [mysqlnd]
  1127. ; Enable / Disable collection of general statistics by mysqlnd which can be
  1128. ; used to tune and monitor MySQL operations.
  1129. ; http://php.net/mysqlnd.collect_statistics
  1130. mysqlnd.collect_statistics = On
  1131.  
  1132. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
  1133. ; used to tune and monitor MySQL operations.
  1134. ; http://php.net/mysqlnd.collect_memory_statistics
  1135. mysqlnd.collect_memory_statistics = Off
  1136.  
  1137. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
  1138. ; http://php.net/mysqlnd.net_cmd_buffer_size
  1139. ;mysqlnd.net_cmd_buffer_size = 2048
  1140.  
  1141. ; Size of a pre-allocated buffer used for reading data sent by the server in
  1142. ; bytes.
  1143. ; http://php.net/mysqlnd.net_read_buffer_size
  1144. ;mysqlnd.net_read_buffer_size = 32768
  1145.  
  1146. [PostgreSQL]
  1147. ; Allow or prevent persistent links.
  1148. ; http://php.net/pgsql.allow-persistent
  1149. pgsql.allow_persistent = On
  1150.  
  1151. ; Detect broken persistent links always with pg_pconnect().
  1152. ; Auto reset feature requires a little overheads.
  1153. ; http://php.net/pgsql.auto-reset-persistent
  1154. pgsql.auto_reset_persistent = 0
  1155.  
  1156. ; Maximum number of persistent links. -1 means no limit.
  1157. ; http://php.net/pgsql.max-persistent
  1158. pgsql.max_persistent = -1
  1159.  
  1160. ; Maximum number of links (persistent+non persistent). -1 means no limit.
  1161. ; http://php.net/pgsql.max-links
  1162. pgsql.max_links = -1
  1163.  
  1164. ; Ignore PostgreSQL backends Notice message or not.
  1165. ; Notice message logging require a little overheads.
  1166. ; http://php.net/pgsql.ignore-notice
  1167. pgsql.ignore_notice = 0
  1168.  
  1169. ; Log PostgreSQL backends Notice message or not.
  1170. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  1171. ; http://php.net/pgsql.log-notice
  1172. pgsql.log_notice = 0
  1173.  
  1174. [bcmath]
  1175. ; Number of decimal digits for all bcmath functions.
  1176. ; http://php.net/bcmath.scale
  1177. bcmath.scale = 0
  1178.  
  1179. [browscap]
  1180. ; http://php.net/browscap
  1181. ;browscap = extra/browscap.ini
  1182.  
  1183. [Session]
  1184. ; Handler used to store/retrieve data.
  1185. ; http://php.net/session.save-handler
  1186. session.save_handler = "files"
  1187.  
  1188. ; Argument passed to save_handler. In the case of files, this is the path
  1189. ; where data files are stored. Note: Windows users have to change this
  1190. ; variable in order to use PHP's session functions.
  1191. ;
  1192. ; The path can be defined as:
  1193. ;
  1194. session.save_path = "/var/cpanel/php/sessions/ea-php70"
  1195. ;
  1196. ; where N is an integer. Instead of storing all the session files in
  1197. ; /path, what this will do is use subdirectories N-levels deep, and
  1198. ; store the session data in those directories. This is useful if
  1199. ; your OS has problems with many files in one directory, and is
  1200. ; a more efficient layout for servers that handle many sessions.
  1201. ;
  1202. ; NOTE 1: PHP will not create this directory structure automatically.
  1203. ; You can use the script in the ext/session dir for that purpose.
  1204. ; NOTE 2: See the section on garbage collection below if you choose to
  1205. ; use subdirectories for session storage
  1206. ;
  1207. ; The file storage module creates files using mode 600 by default.
  1208. ; You can change that by using
  1209. ;
  1210. ;
  1211. ; where MODE is the octal representation of the mode. Note that this
  1212. ; does not overwrite the process's umask.
  1213. ; http://php.net/session.save-path
  1214.  
  1215. ; RPM note : session directory must be owned by process owner
  1216. ; for mod_php, see /etc/httpd/conf.d/php.conf
  1217. ; for php-fpm, see /etc/php-fpm.d/*conf
  1218.  
  1219. ; Whether to use strict session mode.
  1220. ; Strict session mode does not accept uninitialized session ID and regenerate
  1221. ; session ID if browser sends uninitialized session ID. Strict mode protects
  1222. ; applications from session fixation via session adoption vulnerability. It is
  1223. ; disabled by default for maximum compatibility, but enabling it is encouraged.
  1224. ; https://wiki.php.net/rfc/strict_sessions
  1225. session.use_strict_mode = Off
  1226.  
  1227. ; Whether to use cookies.
  1228. ; http://php.net/session.use-cookies
  1229. session.use_cookies = On
  1230.  
  1231. ; http://php.net/session.cookie-secure
  1232. ;session.cookie_secure =
  1233.  
  1234. ; This option forces PHP to fetch and use a cookie for storing and maintaining
  1235. ; the session id. We encourage this operation as it's very helpful in combating
  1236. ; session hijacking when not specifying and managing your own session id. It is
  1237. ; not the be-all and end-all of session hijacking defense, but it's a good start.
  1238. ; http://php.net/session.use-only-cookies
  1239. session.use_only_cookies = On
  1240.  
  1241. ; Name of the session (used as cookie name).
  1242. ; http://php.net/session.name
  1243. session.name = "PHPSESSID"
  1244.  
  1245. ; Initialize session on request startup.
  1246. ; http://php.net/session.auto-start
  1247. session.auto_start = Off
  1248.  
  1249. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  1250. ; http://php.net/session.cookie-lifetime
  1251. session.cookie_lifetime = 0
  1252.  
  1253. ; The path for which the cookie is valid.
  1254. ; http://php.net/session.cookie-path
  1255. session.cookie_path = "/"
  1256.  
  1257. ; The domain for which the cookie is valid.
  1258. ; http://php.net/session.cookie-domain
  1259. session.cookie_domain = ""
  1260.  
  1261. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
  1262. ; http://php.net/session.cookie-httponly
  1263. session.cookie_httponly = ""
  1264.  
  1265. ; Handler used to serialize data. php is the standard serializer of PHP.
  1266. ; http://php.net/session.serialize-handler
  1267. session.serialize_handler = "php"
  1268.  
  1269. ; Defines the probability that the 'garbage collection' process is started
  1270. ; on every session initialization. The probability is calculated by using
  1271. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
  1272. ; and gc_divisor is the denominator in the equation. Setting this value to 1
  1273. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  1274. ; the gc will run on any give request.
  1275. ; Default Value: 1
  1276. ; Development Value: 1
  1277. ; Production Value: 1
  1278. ; http://php.net/session.gc-probability
  1279. session.gc_probability = 0
  1280.  
  1281. ; Defines the probability that the 'garbage collection' process is started on every
  1282. ; session initialization. The probability is calculated by using the following equation:
  1283. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
  1284. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
  1285. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
  1286. ; the gc will run on any give request. Increasing this value to 1000 will give you
  1287. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
  1288. ; this is a more efficient approach.
  1289. ; Default Value: 100
  1290. ; Development Value: 1000
  1291. ; Production Value: 1000
  1292. ; http://php.net/session.gc-divisor
  1293. session.gc_divisor = 0
  1294.  
  1295. ; After this number of seconds, stored data will be seen as 'garbage' and
  1296. ; cleaned up by the garbage collection process.
  1297. ; http://php.net/session.gc-maxlifetime
  1298. session.gc_maxlifetime = 1440
  1299.  
  1300. ; NOTE: If you are using the subdirectory option for storing session files
  1301. ; (see session.save_path above), then garbage collection does *not*
  1302. ; happen automatically. You will need to do your own garbage
  1303. ; collection through a shell script, cron entry, or some other method.
  1304. ; For example, the following script would is the equivalent of
  1305. ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
  1306. ; find /path/to/sessions -cmin +24 -type f | xargs rm
  1307.  
  1308. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  1309. ; HTTP_REFERER has to contain this substring for the session to be
  1310. ; considered as valid.
  1311. ; http://php.net/session.referer-check
  1312. session.referer_check = ""
  1313.  
  1314. ; How many bytes to read from the file.
  1315. ; http://php.net/session.entropy-length
  1316. ;session.entropy_length = 32
  1317.  
  1318. ; Specified here to create the session id.
  1319. ; http://php.net/session.entropy-file
  1320. ; Defaults to /dev/urandom
  1321. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
  1322. ; If neither are found at compile time, the default is no entropy file.
  1323. ; On windows, setting the entropy_length setting will activate the
  1324. ; Windows random source (using the CryptoAPI)
  1325. ;session.entropy_file = /dev/urandom
  1326.  
  1327. ; Set to {nocache,private,public,} to determine HTTP caching aspects
  1328. ; or leave this empty to avoid sending anti-caching headers.
  1329. ; http://php.net/session.cache-limiter
  1330. session.cache_limiter = "nocache"
  1331.  
  1332. ; Document expires after n minutes.
  1333. ; http://php.net/session.cache-expire
  1334. session.cache_expire = 180
  1335.  
  1336. ; trans sid support is disabled by default.
  1337. ; Use of trans sid may risk your users' security.
  1338. ; Use this option with caution.
  1339. ; - User may send URL contains active session ID
  1340. ; to other person via. email/irc/etc.
  1341. ; - URL that contains active session ID may be stored
  1342. ; in publicly accessible computer.
  1343. ; - User may access your site with the same session ID
  1344. ; always using URL stored in browser's history or bookmarks.
  1345. ; http://php.net/session.use-trans-sid
  1346. session.use_trans_sid = Off
  1347.  
  1348. ; Select a hash function for use in generating session ids.
  1349. ; Possible Values
  1350. ; 0 (MD5 128 bits)
  1351. ; 1 (SHA-1 160 bits)
  1352. ; This option may also be set to the name of any hash function supported by
  1353. ; the hash extension. A list of available hashes is returned by the hash_algos()
  1354. ; function.
  1355. ; http://php.net/session.hash-function
  1356. session.hash_function = "0"
  1357.  
  1358. ; Define how many bits are stored in each character when converting
  1359. ; the binary hash data to something readable.
  1360. ; Possible values:
  1361. ; 4 (4 bits: 0-9, a-f)
  1362. ; 5 (5 bits: 0-9, a-v)
  1363. ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
  1364. ; Default Value: 4
  1365. ; Development Value: 5
  1366. ; Production Value: 5
  1367. ; http://php.net/session.hash-bits-per-character
  1368. session.hash_bits_per_character = 5
  1369.  
  1370. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  1371. ; form/fieldset are special; if you include them here, the rewriter will
  1372. ; add a hidden <input> field with the info which is otherwise appended
  1373. ; to URLs. If you want XHTML conformity, remove the form entry.
  1374. ; Note that all valid entries require a "=", even if no value follows.
  1375. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
  1376. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  1377. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
  1378. ; http://php.net/url-rewriter.tags
  1379. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  1380.  
  1381. ; Enable upload progress tracking in $_SESSION
  1382. ; Default Value: On
  1383. ; Development Value: On
  1384. ; Production Value: On
  1385. ; http://php.net/session.upload-progress.enabled
  1386. ;session.upload_progress.enabled = On
  1387.  
  1388. ; Cleanup the progress information as soon as all POST data has been read
  1389. ; (i.e. upload completed).
  1390. ; Default Value: On
  1391. ; Development Value: On
  1392. ; Production Value: On
  1393. ; http://php.net/session.upload-progress.cleanup
  1394. ;session.upload_progress.cleanup = On
  1395.  
  1396. ; A prefix used for the upload progress key in $_SESSION
  1397. ; Default Value: "upload_progress_"
  1398. ; Development Value: "upload_progress_"
  1399. ; Production Value: "upload_progress_"
  1400. ; http://php.net/session.upload-progress.prefix
  1401. ;session.upload_progress.prefix = "upload_progress_"
  1402.  
  1403. ; The index name (concatenated with the prefix) in $_SESSION
  1404. ; containing the upload progress information
  1405. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
  1406. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
  1407. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
  1408. ; http://php.net/session.upload-progress.name
  1409. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
  1410.  
  1411. ; How frequently the upload progress should be updated.
  1412. ; Given either in percentages (per-file), or in bytes
  1413. ; Default Value: "1%"
  1414. ; Development Value: "1%"
  1415. ; Production Value: "1%"
  1416. ; http://php.net/session.upload-progress.freq
  1417. ;session.upload_progress.freq = "1%"
  1418.  
  1419. ; The minimum delay between updates, in seconds
  1420. ; Default Value: 1
  1421. ; Development Value: 1
  1422. ; Production Value: 1
  1423. ; http://php.net/session.upload-progress.min-freq
  1424. ;session.upload_progress.min_freq = "1"
  1425.  
  1426. [Assertion]
  1427. ; Switch whether to compile assertions at all (to have no overhead at run-time)
  1428. ; -1: Do not compile at all
  1429. ; 0: Jump over assertion at run-time
  1430. ; 1: Execute assertions
  1431. ; 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)
  1432. ; Default Value: 1
  1433. ; Development Value: 1
  1434. ; Production Value: -1
  1435. ; http://php.net/zend.assertions
  1436. zend.assertions = -1
  1437.  
  1438. ; Assert(expr); active by default.
  1439. ; http://php.net/assert.active
  1440. ;assert.active = On
  1441.  
  1442. ; Throw an AssertationException on failed assertions
  1443. ; http://php.net/assert.exception
  1444. ;assert.exception = On
  1445.  
  1446. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
  1447. ; http://php.net/assert.warning
  1448. ;assert.warning = On
  1449.  
  1450. ; Don't bail out by default.
  1451. ; http://php.net/assert.bail
  1452. ;assert.bail = Off
  1453.  
  1454. ; User-function to be called if an assertion fails.
  1455. ; http://php.net/assert.callback
  1456. ;assert.callback = 0
  1457.  
  1458. ; Eval the expression with current error_reporting(). Set to true if you want
  1459. ; error_reporting(0) around the eval().
  1460. ; http://php.net/assert.quiet-eval
  1461. ;assert.quiet_eval = 0
  1462.  
  1463. [mbstring]
  1464. ; language for internal character representation.
  1465. ; This affects mb_send_mail() and mbstring.detect_order.
  1466. ; http://php.net/mbstring.language
  1467. ;mbstring.language = Japanese
  1468.  
  1469. ; Use of this INI entry is deprecated, use global internal_encoding instead.
  1470. ; internal/script encoding.
  1471. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
  1472. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
  1473. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
  1474. ;mbstring.internal_encoding =
  1475.  
  1476. ; Use of this INI entry is deprecated, use global input_encoding instead.
  1477. ; http input encoding.
  1478. ; mbstring.encoding_traslation = On is needed to use this setting.
  1479. ; If empty, default_charset or input_encoding or mbstring.input is used.
  1480. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
  1481. ; http://php.net/mbstring.http-input
  1482. ;mbstring.http_input =
  1483.  
  1484. ; Use of this INI entry is deprecated, use global output_encoding instead.
  1485. ; http output encoding.
  1486. ; mb_output_handler must be registered as output buffer to function.
  1487. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
  1488. ; The precedence is: default_charset < output_encoding < mbstring.http_output
  1489. ; To use an output encoding conversion, mbstring's output handler must be set
  1490. ; otherwise output encoding conversion cannot be performed.
  1491. ; http://php.net/mbstring.http-output
  1492. ;mbstring.http_output = pass
  1493.  
  1494. ; enable automatic encoding translation according to
  1495. ; mbstring.internal_encoding setting. Input chars are
  1496. ; converted to internal encoding by setting this to On.
  1497. ; Note: Do _not_ use automatic encoding translation for
  1498. ; portable libs/applications.
  1499. ; http://php.net/mbstring.encoding-translation
  1500. ;mbstring.encoding_translation = Off
  1501.  
  1502. ; automatic encoding detection order.
  1503. ; "auto" detect order is changed according to mbstring.language
  1504. ; http://php.net/mbstring.detect-order
  1505. ;mbstring.detect_order = auto
  1506.  
  1507. ; substitute_character used when character cannot be converted
  1508. ; one from another
  1509. ; http://php.net/mbstring.substitute-character
  1510. ;mbstring.substitute_character = none
  1511.  
  1512. ; overload(replace) single byte functions by mbstring functions.
  1513. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1514. ; etc. Possible values are 0,1,2,4 or combination of them.
  1515. ; For example, 7 for overload everything.
  1516. ; 0: No overload
  1517. ; 1: Overload mail() function
  1518. ; 2: Overload str*() functions
  1519. ; 4: Overload ereg*() functions
  1520. ; http://php.net/mbstring.func-overload
  1521. ;mbstring.func_overload = 0
  1522.  
  1523. ; enable strict encoding detection.
  1524. ; Default: Off
  1525. ;mbstring.strict_detection = On
  1526.  
  1527. ; This directive specifies the regex pattern of content types for which mb_output_handler()
  1528. ; is activated.
  1529. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
  1530. ;mbstring.http_output_conv_mimetype=
  1531.  
  1532. [gd]
  1533. ; Tell the jpeg decode to ignore warnings and try to create
  1534. ; a gd image. The warning will then be displayed as notices
  1535. ; disabled by default
  1536. ; http://php.net/gd.jpeg-ignore-warning
  1537. ;gd.jpeg_ignore_warning = 0
  1538.  
  1539. [exif]
  1540. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
  1541. ; With mbstring support this will automatically be converted into the encoding
  1542. ; given by corresponding encode setting. When empty mbstring.internal_encoding
  1543. ; is used. For the decode settings you can distinguish between motorola and
  1544. ; intel byte order. A decode setting cannot be empty.
  1545. ; http://php.net/exif.encode-unicode
  1546. ;exif.encode_unicode = ISO-8859-15
  1547.  
  1548. ; http://php.net/exif.decode-unicode-motorola
  1549. ;exif.decode_unicode_motorola = UCS-2BE
  1550.  
  1551. ; http://php.net/exif.decode-unicode-intel
  1552. ;exif.decode_unicode_intel = UCS-2LE
  1553.  
  1554. ; http://php.net/exif.encode-jis
  1555. ;exif.encode_jis =
  1556.  
  1557. ; http://php.net/exif.decode-jis-motorola
  1558. ;exif.decode_jis_motorola = JIS
  1559.  
  1560. ; http://php.net/exif.decode-jis-intel
  1561. ;exif.decode_jis_intel = JIS
  1562.  
  1563. [Tidy]
  1564. ; The path to a default tidy configuration file to use when using tidy
  1565. ; http://php.net/tidy.default-config
  1566. ;tidy.default_config = /usr/local/lib/php/default.tcfg
  1567.  
  1568. ; Should tidy clean and repair output automatically?
  1569. ; WARNING: Do not use this option if you are generating non-html content
  1570. ; such as dynamic images
  1571. ; http://php.net/tidy.clean-output
  1572. tidy.clean_output = Off
  1573.  
  1574. [soap]
  1575. ; Enables or disables WSDL caching feature.
  1576. ; http://php.net/soap.wsdl-cache-enabled
  1577. soap.wsdl_cache_enabled = On
  1578.  
  1579. ; Sets the directory name where SOAP extension will put cache files.
  1580. ; http://php.net/soap.wsdl-cache-dir
  1581.  
  1582. ; RPM note : cache directory must be owned by process owner
  1583. ; for mod_php, see /etc/httpd/conf.d/php.conf
  1584. ; for php-fpm, see /etc/php-fpm.d/*conf
  1585. soap.wsdl_cache_dir = "/tmp"
  1586.  
  1587. ; (time to live) Sets the number of second while cached file will be used
  1588. ; instead of original one.
  1589. ; http://php.net/soap.wsdl-cache-ttl
  1590. soap.wsdl_cache_ttl = 86400
  1591.  
  1592. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
  1593. soap.wsdl_cache_limit = 5
  1594.  
  1595. [sysvshm]
  1596. ; A default size of the shared memory segment
  1597. ;sysvshm.init_mem = 10000
  1598.  
  1599. [ldap]
  1600. ; Sets the maximum number of open links or -1 for unlimited.
  1601. ldap.max_links = -1
  1602.  
  1603. [mcrypt]
  1604. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
  1605.  
  1606. ; Directory where to load mcrypt algorithms
  1607. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  1608. ;mcrypt.algorithms_dir=
  1609.  
  1610. ; Directory where to load mcrypt modes
  1611. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
  1612. ;mcrypt.modes_dir=
  1613.  
  1614. [dba]
  1615. ;dba.default_handler=
  1616.  
  1617. [curl]
  1618. ; A default value for the CURLOPT_CAINFO option. This is required to be an
  1619. ; absolute path.
  1620. ;curl.cainfo =
  1621.  
  1622. [openssl]
  1623. ; The location of a Certificate Authority (CA) file on the local filesystem
  1624. ; to use when verifying the identity of SSL/TLS peers. Most users should
  1625. ; not specify a value for this directive as PHP will attempt to use the
  1626. ; OS-managed cert stores in its absence. If specified, this value may still
  1627. ; be overridden on a per-stream basis via the "cafile" SSL stream context
  1628. ; option.
  1629. ;openssl.cafile=
  1630.  
  1631. ; If openssl.cafile is not specified or if the CA file is not found, the
  1632. ; directory pointed to by openssl.capath is searched for a suitable
  1633. ; certificate. This value must be a correctly hashed certificate directory.
  1634. ; Most users should not specify a value for this directive as PHP will
  1635. ; attempt to use the OS-managed cert stores in its absence. If specified,
  1636. ; this value may still be overridden on a per-stream basis via the "capath"
  1637. ; SSL stream context option.
  1638. ;openssl.capath=
  1639.  
  1640. ; Local Variables:
  1641. ; tab-width: 4
  1642. ; End:
Add Comment
Please, Sign In to add comment