b444af
[PHP]
b444af
b444af
;;;;;;;;;;;;;;;;;;;
b444af
; About php.ini   ;
b444af
;;;;;;;;;;;;;;;;;;;
b444af
; PHP's initialization file, generally called php.ini, is responsible for
b444af
; configuring many of the aspects of PHP's behavior.
b444af
b444af
; PHP attempts to find and load this configuration from a number of locations.
b444af
; The following is a summary of its search order:
b444af
; 1. SAPI module specific location.
b444af
; 2. The PHPRC environment variable. (As of PHP 5.2.0)
b444af
; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
b444af
; 4. Current working directory (except CLI)
b444af
; 5. The web server's directory (for SAPI modules), or directory of PHP
b444af
; (otherwise in Windows)
b444af
; 6. The directory from the --with-config-file-path compile time option, or the
b444af
; Windows directory (usually C:\windows)
b444af
; See the PHP docs for more specific information.
b444af
; http://php.net/configuration.file
b444af
b444af
; The syntax of the file is extremely simple.  Whitespace and lines
b444af
; beginning with a semicolon are silently ignored (as you probably guessed).
b444af
; Section headers (e.g. [Foo]) are also silently ignored, even though
b444af
; they might mean something in the future.
b444af
b444af
; Directives following the section heading [PATH=/www/mysite] only
b444af
; apply to PHP files in the /www/mysite directory.  Directives
b444af
; following the section heading [HOST=www.example.com] only apply to
b444af
; PHP files served from www.example.com.  Directives set in these
b444af
; special sections cannot be overridden by user-defined INI files or
b444af
; at runtime. Currently, [PATH=] and [HOST=] sections only work under
b444af
; CGI/FastCGI.
b444af
; http://php.net/ini.sections
b444af
b444af
; Directives are specified using the following syntax:
b444af
; directive = value
b444af
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
b444af
; Directives are variables used to configure PHP or PHP extensions.
b444af
; There is no name validation.  If PHP can't find an expected
b444af
; directive because it is not set or is mistyped, a default value will be used.
b444af
b444af
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
b444af
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
b444af
; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
b444af
; previously set variable or directive (e.g. ${foo})
b444af
b444af
; Expressions in the INI file are limited to bitwise operators and parentheses:
b444af
; |  bitwise OR
b444af
; ^  bitwise XOR
b444af
; &  bitwise AND
b444af
; ~  bitwise NOT
b444af
; !  boolean NOT
b444af
b444af
; Boolean flags can be turned on using the values 1, On, True or Yes.
b444af
; They can be turned off using the values 0, Off, False or No.
b444af
b444af
; An empty string can be denoted by simply not writing anything after the equal
b444af
; sign, or by using the None keyword:
b444af
b444af
; foo =         ; sets foo to an empty string
b444af
; foo = None    ; sets foo to an empty string
b444af
; foo = "None"  ; sets foo to the string 'None'
b444af
b444af
; If you use constants in your value, and these constants belong to a
b444af
; dynamically loaded extension (either a PHP extension or a Zend extension),
b444af
; you may only use these constants *after* the line that loads the extension.
b444af
b444af
;;;;;;;;;;;;;;;;;;;
b444af
; About this file ;
b444af
;;;;;;;;;;;;;;;;;;;
b444af
; PHP comes packaged with two INI files. One that is recommended to be used
b444af
; in production environments and one that is recommended to be used in
b444af
; development environments.
b444af
b444af
; php.ini-production contains settings which hold security, performance and
b444af
; best practices at its core. But please be aware, these settings may break
b444af
; compatibility with older or less security conscience applications. We
b444af
; recommending using the production ini in production and testing environments.
b444af
b444af
; php.ini-development is very similar to its production variant, except it is
b444af
; much more verbose when it comes to errors. We recommend using the
b444af
; development version only in development environments, as errors shown to
b444af
; application users can inadvertently leak otherwise secure information.
b444af
b444af
; This is the php.ini-production INI file.
b444af
b444af
;;;;;;;;;;;;;;;;;;;
b444af
; Quick Reference ;
b444af
;;;;;;;;;;;;;;;;;;;
b444af
b444af
; The following are all the settings which are different in either the production
b444af
; or development versions of the INIs with respect to PHP's default behavior.
b444af
; Please see the actual settings later in the document for more details as to why
b444af
; we recommend these changes in PHP's behavior.
b444af
b444af
; display_errors
b444af
;   Default Value: On
b444af
;   Development Value: On
b444af
;   Production Value: Off
b444af
b444af
; display_startup_errors
b444af
;   Default Value: On
b444af
;   Development Value: On
b444af
;   Production Value: Off
b444af
b444af
; error_reporting
b444af
;   Default Value: E_ALL
b444af
;   Development Value: E_ALL
b444af
;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
b444af
b444af
; log_errors
b444af
;   Default Value: Off
b444af
;   Development Value: On
b444af
;   Production Value: On
b444af
b444af
; max_input_time
b444af
;   Default Value: -1 (Unlimited)
b444af
;   Development Value: 60 (60 seconds)
b444af
;   Production Value: 60 (60 seconds)
b444af
b444af
; output_buffering
b444af
;   Default Value: Off
b444af
;   Development Value: 4096
b444af
;   Production Value: 4096
b444af
b444af
; register_argc_argv
b444af
;   Default Value: On
b444af
;   Development Value: Off
b444af
;   Production Value: Off
b444af
b444af
; request_order
b444af
;   Default Value: None
b444af
;   Development Value: "GP"
b444af
;   Production Value: "GP"
b444af
b444af
; session.gc_divisor
b444af
;   Default Value: 100
b444af
;   Development Value: 1000
b444af
;   Production Value: 1000
b444af
b444af
; session.sid_bits_per_character
b444af
;   Default Value: 4
b444af
;   Development Value: 5
b444af
;   Production Value: 5
b444af
b444af
; short_open_tag
b444af
;   Default Value: On
b444af
;   Development Value: Off
b444af
;   Production Value: Off
b444af
b444af
; variables_order
b444af
;   Default Value: "EGPCS"
b444af
;   Development Value: "GPCS"
b444af
;   Production Value: "GPCS"
b444af
b444af
; zend.exception_ignore_args
b444af
;   Default Value: Off
b444af
;   Development Value: Off
b444af
;   Production Value: On
b444af
b444af
; zend.exception_string_param_max_len
b444af
;   Default Value: 15
b444af
;   Development Value: 15
b444af
;   Production Value: 0
b444af
b444af
;;;;;;;;;;;;;;;;;;;;
b444af
; php.ini Options  ;
b444af
;;;;;;;;;;;;;;;;;;;;
b444af
; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
b444af
;user_ini.filename = ".user.ini"
b444af
b444af
; To disable this feature set this option to an empty value
b444af
;user_ini.filename =
b444af
b444af
; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
b444af
;user_ini.cache_ttl = 300
b444af
b444af
;;;;;;;;;;;;;;;;;;;;
b444af
; Language Options ;
b444af
;;;;;;;;;;;;;;;;;;;;
b444af
b444af
; Enable the PHP scripting language engine under Apache.
b444af
; http://php.net/engine
b444af
engine = On
b444af
b444af
; This directive determines whether or not PHP will recognize code between
b444af
;  tags as PHP source which should be processed as such. It is
b444af
; generally recommended that  should be used and that this feature
b444af
; should be disabled, as enabling it may result in issues when generating XML
b444af
; documents, however this remains supported for backward compatibility reasons.
b444af
; Note that this directive does not control the 
b444af
; used regardless of this directive.
b444af
; Default Value: On
b444af
; Development Value: Off
b444af
; Production Value: Off
b444af
; http://php.net/short-open-tag
b444af
short_open_tag = Off
b444af
b444af
; The number of significant digits displayed in floating point numbers.
b444af
; http://php.net/precision
b444af
precision = 14
b444af
b444af
; Output buffering is a mechanism for controlling how much output data
b444af
; (excluding headers and cookies) PHP should keep internally before pushing that
b444af
; data to the client. If your application's output exceeds this setting, PHP
b444af
; will send that data in chunks of roughly the size you specify.
b444af
; Turning on this setting and managing its maximum buffer size can yield some
b444af
; interesting side-effects depending on your application and web server.
b444af
; You may be able to send headers and cookies after you've already sent output
b444af
; through print or echo. You also may see performance benefits if your server is
b444af
; emitting less packets due to buffered output versus PHP streaming the output
b444af
; as it gets it. On production servers, 4096 bytes is a good setting for performance
b444af
; reasons.
b444af
; Note: Output buffering can also be controlled via Output Buffering Control
b444af
;   functions.
b444af
; Possible Values:
b444af
;   On = Enabled and buffer is unlimited. (Use with caution)
b444af
;   Off = Disabled
b444af
;   Integer = Enables the buffer and sets its maximum size in bytes.
b444af
; Note: This directive is hardcoded to Off for the CLI SAPI
b444af
; Default Value: Off
b444af
; Development Value: 4096
b444af
; Production Value: 4096
b444af
; http://php.net/output-buffering
b444af
output_buffering = 4096
b444af
b444af
; You can redirect all of the output of your scripts to a function.  For
b444af
; example, if you set output_handler to "mb_output_handler", character
b444af
; encoding will be transparently converted to the specified encoding.
b444af
; Setting any output handler automatically turns on output buffering.
b444af
; Note: People who wrote portable scripts should not depend on this ini
b444af
;   directive. Instead, explicitly set the output handler using ob_start().
b444af
;   Using this ini directive may cause problems unless you know what script
b444af
;   is doing.
b444af
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
b444af
;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
b444af
; Note: output_handler must be empty if this is set 'On' !!!!
b444af
;   Instead you must use zlib.output_handler.
b444af
; http://php.net/output-handler
b444af
;output_handler =
b444af
b444af
; URL rewriter function rewrites URL on the fly by using
b444af
; output buffer. You can set target tags by this configuration.
b444af
; "form" tag is special tag. It will add hidden input tag to pass values.
b444af
; Refer to session.trans_sid_tags for usage.
b444af
; Default Value: "form="
b444af
; Development Value: "form="
b444af
; Production Value: "form="
b444af
;url_rewriter.tags
b444af
b444af
; URL rewriter will not rewrite absolute URL nor form by default. To enable
b444af
; absolute URL rewrite, allowed hosts must be defined at RUNTIME.
b444af
; Refer to session.trans_sid_hosts for more details.
b444af
; Default Value: ""
b444af
; Development Value: ""
b444af
; Production Value: ""
b444af
;url_rewriter.hosts
b444af
b444af
; Transparent output compression using the zlib library
b444af
; Valid values for this option are 'off', 'on', or a specific buffer size
b444af
; to be used for compression (default is 4KB)
b444af
; Note: Resulting chunk size may vary due to nature of compression. PHP
b444af
;   outputs chunks that are few hundreds bytes each as a result of
b444af
;   compression. If you prefer a larger chunk size for better
b444af
;   performance, enable output_buffering in addition.
b444af
; Note: You need to use zlib.output_handler instead of the standard
b444af
;   output_handler, or otherwise the output will be corrupted.
b444af
; http://php.net/zlib.output-compression
b444af
zlib.output_compression = Off
b444af
b444af
; http://php.net/zlib.output-compression-level
b444af
;zlib.output_compression_level = -1
b444af
b444af
; You cannot specify additional output handlers if zlib.output_compression
b444af
; is activated here. This setting does the same as output_handler but in
b444af
; a different order.
b444af
; http://php.net/zlib.output-handler
b444af
;zlib.output_handler =
b444af
b444af
; Implicit flush tells PHP to tell the output layer to flush itself
b444af
; automatically after every output block.  This is equivalent to calling the
b444af
; PHP function flush() after each and every call to print() or echo() and each
b444af
; and every HTML block.  Turning this option on has serious performance
b444af
; implications and is generally recommended for debugging purposes only.
b444af
; http://php.net/implicit-flush
b444af
; Note: This directive is hardcoded to On for the CLI SAPI
b444af
implicit_flush = Off
b444af
b444af
; The unserialize callback function will be called (with the undefined class'
b444af
; name as parameter), if the unserializer finds an undefined class
b444af
; which should be instantiated. A warning appears if the specified function is
b444af
; not defined, or if the function doesn't include/implement the missing class.
b444af
; So only set this entry, if you really want to implement such a
b444af
; callback-function.
b444af
unserialize_callback_func =
b444af
b444af
; The unserialize_max_depth specifies the default depth limit for unserialized
b444af
; structures. Setting the depth limit too high may result in stack overflows
b444af
; during unserialization. The unserialize_max_depth ini setting can be
b444af
; overridden by the max_depth option on individual unserialize() calls.
b444af
; A value of 0 disables the depth limit.
b444af
;unserialize_max_depth = 4096
b444af
b444af
; When floats & doubles are serialized, store serialize_precision significant
b444af
; digits after the floating point. The default value ensures that when floats
b444af
; are decoded with unserialize, the data will remain the same.
b444af
; The value is also used for json_encode when encoding double values.
b444af
; If -1 is used, then dtoa mode 0 is used which automatically select the best
b444af
; precision.
b444af
serialize_precision = -1
b444af
b444af
; open_basedir, if set, limits all file operations to the defined directory
b444af
; and below.  This directive makes most sense if used in a per-directory
b444af
; or per-virtualhost web server configuration file.
b444af
; Note: disables the realpath cache
b444af
; http://php.net/open-basedir
b444af
;open_basedir =
b444af
b444af
; This directive allows you to disable certain functions.
b444af
; It receives a comma-delimited list of function names.
b444af
; http://php.net/disable-functions
b444af
disable_functions =
b444af
b444af
; This directive allows you to disable certain classes.
b444af
; It receives a comma-delimited list of class names.
b444af
; http://php.net/disable-classes
b444af
disable_classes =
b444af
b444af
; Colors for Syntax Highlighting mode.  Anything that's acceptable in
b444af
;  would work.
b444af
; http://php.net/syntax-highlighting
b444af
;highlight.string  = #DD0000
b444af
;highlight.comment = #FF9900
b444af
;highlight.keyword = #007700
b444af
;highlight.default = #0000BB
b444af
;highlight.html    = #000000
b444af
b444af
; If enabled, the request will be allowed to complete even if the user aborts
b444af
; the request. Consider enabling it if executing long requests, which may end up
b444af
; being interrupted by the user or a browser timing out. PHP's default behavior
b444af
; is to disable this feature.
b444af
; http://php.net/ignore-user-abort
b444af
;ignore_user_abort = On
b444af
b444af
; Determines the size of the realpath cache to be used by PHP. This value should
b444af
; be increased on systems where PHP opens many files to reflect the quantity of
b444af
; the file operations performed.
b444af
; Note: if open_basedir is set, the cache is disabled
b444af
; http://php.net/realpath-cache-size
b444af
;realpath_cache_size = 4096k
b444af
b444af
; Duration of time, in seconds for which to cache realpath information for a given
b444af
; file or directory. For systems with rarely changing files, consider increasing this
b444af
; value.
b444af
; http://php.net/realpath-cache-ttl
b444af
;realpath_cache_ttl = 120
b444af
b444af
; Enables or disables the circular reference collector.
b444af
; http://php.net/zend.enable-gc
b444af
zend.enable_gc = On
b444af
b444af
; If enabled, scripts may be written in encodings that are incompatible with
b444af
; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
b444af
; encodings.  To use this feature, mbstring extension must be enabled.
b444af
;zend.multibyte = Off
b444af
b444af
; Allows to set the default encoding for the scripts.  This value will be used
b444af
; unless "declare(encoding=...)" directive appears at the top of the script.
b444af
; Only affects if zend.multibyte is set.
b444af
;zend.script_encoding =
b444af
b444af
; Allows to include or exclude arguments from stack traces generated for exceptions.
b444af
; In production, it is recommended to turn this setting on to prohibit the output
b444af
; of sensitive information in stack traces
b444af
; Default Value: Off
b444af
; Development Value: Off
b444af
; Production Value: On
b444af
zend.exception_ignore_args = On
b444af
b444af
; Allows setting the maximum string length in an argument of a stringified stack trace
b444af
; to a value between 0 and 1000000.
b444af
; This has no effect when zend.exception_ignore_args is enabled.
b444af
; Default Value: 15
b444af
; Development Value: 15
b444af
; Production Value: 0
b444af
; In production, it is recommended to set this to 0 to reduce the output
b444af
; of sensitive information in stack traces.
b444af
zend.exception_string_param_max_len = 0
b444af
b444af
;;;;;;;;;;;;;;;;;
b444af
; Miscellaneous ;
b444af
;;;;;;;;;;;;;;;;;
b444af
b444af
; Decides whether PHP may expose the fact that it is installed on the server
b444af
; (e.g. by adding its signature to the Web server header).  It is no security
b444af
; threat in any way, but it makes it possible to determine whether you use PHP
b444af
; on your server or not.
b444af
; http://php.net/expose-php
b444af
expose_php = On
b444af
b444af
;;;;;;;;;;;;;;;;;;;
b444af
; Resource Limits ;
b444af
;;;;;;;;;;;;;;;;;;;
b444af
b444af
; Maximum execution time of each script, in seconds
b444af
; http://php.net/max-execution-time
b444af
; Note: This directive is hardcoded to 0 for the CLI SAPI
b444af
max_execution_time = 30
b444af
b444af
; Maximum amount of time each script may spend parsing request data. It's a good
b444af
; idea to limit this time on productions servers in order to eliminate unexpectedly
b444af
; long running scripts.
b444af
; Note: This directive is hardcoded to -1 for the CLI SAPI
b444af
; Default Value: -1 (Unlimited)
b444af
; Development Value: 60 (60 seconds)
b444af
; Production Value: 60 (60 seconds)
b444af
; http://php.net/max-input-time
b444af
max_input_time = 60
b444af
b444af
; Maximum input variable nesting level
b444af
; http://php.net/max-input-nesting-level
b444af
;max_input_nesting_level = 64
b444af
b444af
; How many GET/POST/COOKIE input variables may be accepted
b444af
;max_input_vars = 1000
b444af
b444af
; Maximum amount of memory a script may consume
b444af
; http://php.net/memory-limit
b444af
memory_limit = 128M
b444af
b444af
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
b444af
; Error handling and logging ;
b444af
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
b444af
b444af
; This directive informs PHP of which errors, warnings and notices you would like
b444af
; it to take action for. The recommended way of setting values for this
b444af
; directive is through the use of the error level constants and bitwise
b444af
; operators. The error level constants are below here for convenience as well as
b444af
; some common settings and their meanings.
b444af
; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
b444af
; those related to E_NOTICE and E_STRICT, which together cover best practices and
b444af
; recommended coding standards in PHP. For performance reasons, this is the
b444af
; recommend error reporting setting. Your production server shouldn't be wasting
b444af
; resources complaining about best practices and coding standards. That's what
b444af
; development servers and development settings are for.
b444af
; Note: The php.ini-development file has this setting as E_ALL. This
b444af
; means it pretty much reports everything which is exactly what you want during
b444af
; development and early testing.
b444af
;
b444af
; Error Level Constants:
b444af
; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
b444af
; E_ERROR           - fatal run-time errors
b444af
; E_RECOVERABLE_ERROR  - almost fatal run-time errors
b444af
; E_WARNING         - run-time warnings (non-fatal errors)
b444af
; E_PARSE           - compile-time parse errors
b444af
; E_NOTICE          - run-time notices (these are warnings which often result
b444af
;                     from a bug in your code, but it's possible that it was
b444af
;                     intentional (e.g., using an uninitialized variable and
b444af
;                     relying on the fact it is automatically initialized to an
b444af
;                     empty string)
b444af
; E_STRICT          - run-time notices, enable to have PHP suggest changes
b444af
;                     to your code which will ensure the best interoperability
b444af
;                     and forward compatibility of your code
b444af
; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
b444af
; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
b444af
;                     initial startup
b444af
; E_COMPILE_ERROR   - fatal compile-time errors
b444af
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
b444af
; E_USER_ERROR      - user-generated error message
b444af
; E_USER_WARNING    - user-generated warning message
b444af
; E_USER_NOTICE     - user-generated notice message
b444af
; E_DEPRECATED      - warn about code that will not work in future versions
b444af
;                     of PHP
b444af
; E_USER_DEPRECATED - user-generated deprecation warnings
b444af
;
b444af
; Common Values:
b444af
;   E_ALL (Show all errors, warnings and notices including coding standards.)
b444af
;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
b444af
;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
b444af
;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
b444af
; Default Value: E_ALL
b444af
; Development Value: E_ALL
b444af
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
b444af
; http://php.net/error-reporting
b444af
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
b444af
b444af
; This directive controls whether or not and where PHP will output errors,
b444af
; notices and warnings too. Error output is very useful during development, but
b444af
; it could be very dangerous in production environments. Depending on the code
b444af
; which is triggering the error, sensitive information could potentially leak
b444af
; out of your application such as database usernames and passwords or worse.
b444af
; For production environments, we recommend logging errors rather than
b444af
; sending them to STDOUT.
b444af
; Possible Values:
b444af
;   Off = Do not display any errors
b444af
;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
b444af
;   On or stdout = Display errors to STDOUT
b444af
; Default Value: On
b444af
; Development Value: On
b444af
; Production Value: Off
b444af
; http://php.net/display-errors
b444af
display_errors = Off
b444af
b444af
; The display of errors which occur during PHP's startup sequence are handled
b444af
; separately from display_errors. We strongly recommend you set this to 'off'
b444af
; for production servers to avoid leaking configuration details.
b444af
; Default Value: On
b444af
; Development Value: On
b444af
; Production Value: Off
b444af
; http://php.net/display-startup-errors
b444af
display_startup_errors = Off
b444af
b444af
; Besides displaying errors, PHP can also log errors to locations such as a
b444af
; server-specific log, STDERR, or a location specified by the error_log
b444af
; directive found below. While errors should not be displayed on productions
b444af
; servers they should still be monitored and logging is a great way to do that.
b444af
; Default Value: Off
b444af
; Development Value: On
b444af
; Production Value: On
b444af
; http://php.net/log-errors
b444af
log_errors = On
b444af
b444af
; Set maximum length of log_errors. In error_log information about the source is
b444af
; added. The default is 1024 and 0 allows to not apply any maximum length at all.
b444af
; http://php.net/log-errors-max-len
b444af
log_errors_max_len = 1024
b444af
b444af
; Do not log repeated messages. Repeated errors must occur in same file on same
b444af
; line unless ignore_repeated_source is set true.
b444af
; http://php.net/ignore-repeated-errors
b444af
ignore_repeated_errors = Off
b444af
b444af
; Ignore source of message when ignoring repeated messages. When this setting
b444af
; is On you will not log errors with repeated messages from different files or
b444af
; source lines.
b444af
; http://php.net/ignore-repeated-source
b444af
ignore_repeated_source = Off
b444af
b444af
; If this parameter is set to Off, then memory leaks will not be shown (on
b444af
; stdout or in the log). This is only effective in a debug compile, and if
b444af
; error reporting includes E_WARNING in the allowed list
b444af
; http://php.net/report-memleaks
b444af
report_memleaks = On
b444af
b444af
; This setting is off by default.
b444af
;report_zend_debug = 0
b444af
b444af
; Turn off normal error reporting and emit XML-RPC error XML
b444af
; http://php.net/xmlrpc-errors
b444af
;xmlrpc_errors = 0
b444af
b444af
; An XML-RPC faultCode
b444af
;xmlrpc_error_number = 0
b444af
b444af
; When PHP displays or logs an error, it has the capability of formatting the
b444af
; error message as HTML for easier reading. This directive controls whether
b444af
; the error message is formatted as HTML or not.
b444af
; Note: This directive is hardcoded to Off for the CLI SAPI
b444af
; http://php.net/html-errors
b444af
;html_errors = On
b444af
b444af
; If html_errors is set to On *and* docref_root is not empty, then PHP
b444af
; produces clickable error messages that direct to a page describing the error
b444af
; or function causing the error in detail.
b444af
; You can download a copy of the PHP manual from http://php.net/docs
b444af
; and change docref_root to the base URL of your local copy including the
b444af
; leading '/'. You must also specify the file extension being used including
b444af
; the dot. PHP's default behavior is to leave these settings empty, in which
b444af
; case no links to documentation are generated.
b444af
; Note: Never use this feature for production boxes.
b444af
; http://php.net/docref-root
b444af
; Examples
b444af
;docref_root = "/phpmanual/"
b444af
b444af
; http://php.net/docref-ext
b444af
;docref_ext = .html
b444af
b444af
; String to output before an error message. PHP's default behavior is to leave
b444af
; this setting blank.
b444af
; http://php.net/error-prepend-string
b444af
; Example:
b444af
;error_prepend_string = ""
b444af
b444af
; String to output after an error message. PHP's default behavior is to leave
b444af
; this setting blank.
b444af
; http://php.net/error-append-string
b444af
; Example:
b444af
;error_append_string = ""
b444af
b444af
; Log errors to specified file. PHP's default behavior is to leave this value
b444af
; empty.
b444af
; http://php.net/error-log
b444af
; Example:
b444af
;error_log = php_errors.log
b444af
; Log errors to syslog (Event Log on Windows).
b444af
;error_log = syslog
b444af
b444af
; The syslog ident is a string which is prepended to every message logged
b444af
; to syslog. Only used when error_log is set to syslog.
b444af
;syslog.ident = php
b444af
b444af
; The syslog facility is used to specify what type of program is logging
b444af
; the message. Only used when error_log is set to syslog.
b444af
;syslog.facility = user
b444af
b444af
; Set this to disable filtering control characters (the default).
b444af
; Some loggers only accept NVT-ASCII, others accept anything that's not
b444af
; control characters. If your logger accepts everything, then no filtering
b444af
; is needed at all.
b444af
; Allowed values are:
b444af
;   ascii (all printable ASCII characters and NL)
b444af
;   no-ctrl (all characters except control characters)
b444af
;   all (all characters)
b444af
;   raw (like "all", but messages are not split at newlines)
b444af
; http://php.net/syslog.filter
b444af
;syslog.filter = ascii
b444af
b444af
;windows.show_crt_warning
b444af
; Default value: 0
b444af
; Development value: 0
b444af
; Production value: 0
b444af
b444af
;;;;;;;;;;;;;;;;;
b444af
; Data Handling ;
b444af
;;;;;;;;;;;;;;;;;
b444af
b444af
; The separator used in PHP generated URLs to separate arguments.
b444af
; PHP's default setting is "&".
b444af
; http://php.net/arg-separator.output
b444af
; Example:
b444af
;arg_separator.output = "&"
b444af
b444af
; List of separator(s) used by PHP to parse input URLs into variables.
b444af
; PHP's default setting is "&".
b444af
; NOTE: Every character in this directive is considered as separator!
b444af
; http://php.net/arg-separator.input
b444af
; Example:
b444af
;arg_separator.input = ";&"
b444af
b444af
; This directive determines which super global arrays are registered when PHP
b444af
; starts up. G,P,C,E & S are abbreviations for the following respective super
b444af
; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
b444af
; paid for the registration of these arrays and because ENV is not as commonly
b444af
; used as the others, ENV is not recommended on productions servers. You
b444af
; can still get access to the environment variables through getenv() should you
b444af
; need to.
b444af
; Default Value: "EGPCS"
b444af
; Development Value: "GPCS"
b444af
; Production Value: "GPCS";
b444af
; http://php.net/variables-order
b444af
variables_order = "GPCS"
b444af
b444af
; This directive determines which super global data (G,P & C) should be
b444af
; registered into the super global array REQUEST. If so, it also determines
b444af
; the order in which that data is registered. The values for this directive
b444af
; are specified in the same manner as the variables_order directive,
b444af
; EXCEPT one. Leaving this value empty will cause PHP to use the value set
b444af
; in the variables_order directive. It does not mean it will leave the super
b444af
; globals array REQUEST empty.
b444af
; Default Value: None
b444af
; Development Value: "GP"
b444af
; Production Value: "GP"
b444af
; http://php.net/request-order
b444af
request_order = "GP"
b444af
b444af
; This directive determines whether PHP registers $argv & $argc each time it
b444af
; runs. $argv contains an array of all the arguments passed to PHP when a script
b444af
; is invoked. $argc contains an integer representing the number of arguments
b444af
; that were passed when the script was invoked. These arrays are extremely
b444af
; useful when running scripts from the command line. When this directive is
b444af
; enabled, registering these variables consumes CPU cycles and memory each time
b444af
; a script is executed. For performance reasons, this feature should be disabled
b444af
; on production servers.
b444af
; Note: This directive is hardcoded to On for the CLI SAPI
b444af
; Default Value: On
b444af
; Development Value: Off
b444af
; Production Value: Off
b444af
; http://php.net/register-argc-argv
b444af
register_argc_argv = Off
b444af
b444af
; When enabled, the ENV, REQUEST and SERVER variables are created when they're
b444af
; first used (Just In Time) instead of when the script starts. If these
b444af
; variables are not used within a script, having this directive on will result
b444af
; in a performance gain. The PHP directive register_argc_argv must be disabled
b444af
; for this directive to have any effect.
b444af
; http://php.net/auto-globals-jit
b444af
auto_globals_jit = On
b444af
b444af
; Whether PHP will read the POST data.
b444af
; This option is enabled by default.
b444af
; Most likely, you won't want to disable this option globally. It causes $_POST
b444af
; and $_FILES to always be empty; the only way you will be able to read the
b444af
; POST data will be through the php://input stream wrapper. This can be useful
b444af
; to proxy requests or to process the POST data in a memory efficient fashion.
b444af
; http://php.net/enable-post-data-reading
b444af
;enable_post_data_reading = Off
b444af
b444af
; Maximum size of POST data that PHP will accept.
b444af
; Its value may be 0 to disable the limit. It is ignored if POST data reading
b444af
; is disabled through enable_post_data_reading.
b444af
; http://php.net/post-max-size
b444af
post_max_size = 8M
b444af
b444af
; Automatically add files before PHP document.
b444af
; http://php.net/auto-prepend-file
b444af
auto_prepend_file =
b444af
b444af
; Automatically add files after PHP document.
b444af
; http://php.net/auto-append-file
b444af
auto_append_file =
b444af
b444af
; By default, PHP will output a media type using the Content-Type header. To
b444af
; disable this, simply set it to be empty.
b444af
;
b444af
; PHP's built-in default media type is set to text/html.
b444af
; http://php.net/default-mimetype
b444af
default_mimetype = "text/html"
b444af
b444af
; PHP's default character set is set to UTF-8.
b444af
; http://php.net/default-charset
b444af
default_charset = "UTF-8"
b444af
b444af
; PHP internal character encoding is set to empty.
b444af
; If empty, default_charset is used.
b444af
; http://php.net/internal-encoding
b444af
;internal_encoding =
b444af
b444af
; PHP input character encoding is set to empty.
b444af
; If empty, default_charset is used.
b444af
; http://php.net/input-encoding
b444af
;input_encoding =
b444af
b444af
; PHP output character encoding is set to empty.
b444af
; If empty, default_charset is used.
b444af
; See also output_buffer.
b444af
; http://php.net/output-encoding
b444af
;output_encoding =
b444af
b444af
;;;;;;;;;;;;;;;;;;;;;;;;;
b444af
; Paths and Directories ;
b444af
;;;;;;;;;;;;;;;;;;;;;;;;;
b444af
b444af
; UNIX: "/path1:/path2"
b444af
;include_path = ".:/php/includes"
b444af
;
b444af
; Windows: "\path1;\path2"
b444af
;include_path = ".;c:\php\includes"
b444af
;
b444af
; PHP's default setting for include_path is ".;/path/to/php/pear"
b444af
; http://php.net/include-path
b444af
b444af
; The root of the PHP pages, used only if nonempty.
b444af
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
b444af
; if you are running php as a CGI under any web server (other than IIS)
b444af
; see documentation for security issues.  The alternate is to use the
b444af
; cgi.force_redirect configuration below
b444af
; http://php.net/doc-root
b444af
doc_root =
b444af
b444af
; The directory under which PHP opens the script using /~username used only
b444af
; if nonempty.
b444af
; http://php.net/user-dir
b444af
user_dir =
b444af
b444af
; Directory in which the loadable extensions (modules) reside.
b444af
; http://php.net/extension-dir
b444af
;extension_dir = "./"
b444af
; On windows:
b444af
;extension_dir = "ext"
b444af
b444af
; Directory where the temporary files should be placed.
b444af
; Defaults to the system default (see sys_get_temp_dir)
b444af
;sys_temp_dir = "/tmp"
b444af
b444af
; Whether or not to enable the dl() function.  The dl() function does NOT work
b444af
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
b444af
; disabled on them.
b444af
; http://php.net/enable-dl
b444af
enable_dl = Off
b444af
b444af
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
b444af
; most web servers.  Left undefined, PHP turns this on by default.  You can
b444af
; turn it off here AT YOUR OWN RISK
b444af
; **You CAN safely turn this off for IIS, in fact, you MUST.**
b444af
; http://php.net/cgi.force-redirect
b444af
;cgi.force_redirect = 1
b444af
b444af
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
b444af
; every request. PHP's default behavior is to disable this feature.
b444af
;cgi.nph = 1
b444af
b444af
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
b444af
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
b444af
; will look for to know it is OK to continue execution.  Setting this variable MAY
b444af
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
b444af
; http://php.net/cgi.redirect-status-env
b444af
;cgi.redirect_status_env =
b444af
b444af
; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
b444af
; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
b444af
; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
b444af
; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
b444af
; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
b444af
; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
b444af
; http://php.net/cgi.fix-pathinfo
b444af
;cgi.fix_pathinfo=1
b444af
b444af
; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
b444af
; of the web tree and people will not be able to circumvent .htaccess security.
b444af
;cgi.discard_path=1
b444af
b444af
; FastCGI under IIS supports the ability to impersonate
b444af
; security tokens of the calling client.  This allows IIS to define the
b444af
; security context that the request runs under.  mod_fastcgi under Apache
b444af
; does not currently support this feature (03/17/2002)
b444af
; Set to 1 if running under IIS.  Default is zero.
b444af
; http://php.net/fastcgi.impersonate
b444af
;fastcgi.impersonate = 1
b444af
b444af
; Disable logging through FastCGI connection. PHP's default behavior is to enable
b444af
; this feature.
b444af
;fastcgi.logging = 0
b444af
b444af
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
b444af
; use when sending HTTP response code. If set to 0, PHP sends Status: header that
b444af
; is supported by Apache. When this option is set to 1, PHP will send
b444af
; RFC2616 compliant header.
b444af
; Default is zero.
b444af
; http://php.net/cgi.rfc2616-headers
b444af
;cgi.rfc2616_headers = 0
b444af
b444af
; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
b444af
; (shebang) at the top of the running script. This line might be needed if the
b444af
; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
b444af
; mode skips this line and ignores its content if this directive is turned on.
b444af
; http://php.net/cgi.check-shebang-line
b444af
;cgi.check_shebang_line=1
b444af
b444af
;;;;;;;;;;;;;;;;
b444af
; File Uploads ;
b444af
;;;;;;;;;;;;;;;;
b444af
b444af
; Whether to allow HTTP file uploads.
b444af
; http://php.net/file-uploads
b444af
file_uploads = On
b444af
b444af
; Temporary directory for HTTP uploaded files (will use system default if not
b444af
; specified).
b444af
; http://php.net/upload-tmp-dir
b444af
;upload_tmp_dir =
b444af
b444af
; Maximum allowed size for uploaded files.
b444af
; http://php.net/upload-max-filesize
b444af
upload_max_filesize = 2M
b444af
b444af
; Maximum number of files that can be uploaded via a single request
b444af
max_file_uploads = 20
b444af
b444af
;;;;;;;;;;;;;;;;;;
b444af
; Fopen wrappers ;
b444af
;;;;;;;;;;;;;;;;;;
b444af
b444af
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
b444af
; http://php.net/allow-url-fopen
b444af
allow_url_fopen = On
b444af
b444af
; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
b444af
; http://php.net/allow-url-include
b444af
allow_url_include = Off
b444af
b444af
; Define the anonymous ftp password (your email address). PHP's default setting
b444af
; for this is empty.
b444af
; http://php.net/from
b444af
;from="john@doe.com"
b444af
b444af
; Define the User-Agent string. PHP's default setting for this is empty.
b444af
; http://php.net/user-agent
b444af
;user_agent="PHP"
b444af
b444af
; Default timeout for socket based streams (seconds)
b444af
; http://php.net/default-socket-timeout
b444af
default_socket_timeout = 60
b444af
b444af
; If your scripts have to deal with files from Macintosh systems,
b444af
; or you are running on a Mac and need to deal with files from
b444af
; unix or win32 systems, setting this flag will cause PHP to
b444af
; automatically detect the EOL character in those files so that
b444af
; fgets() and file() will work regardless of the source of the file.
b444af
; http://php.net/auto-detect-line-endings
b444af
;auto_detect_line_endings = Off
b444af
b444af
;;;;;;;;;;;;;;;;;;;;;;
b444af
; Dynamic Extensions ;
b444af
;;;;;;;;;;;;;;;;;;;;;;
b444af
b444af
; If you wish to have an extension loaded automatically, use the following
b444af
; syntax:
b444af
;
b444af
;   extension=modulename
b444af
;
b444af
; For example:
b444af
;
b444af
;   extension=mysqli
b444af
;
b444af
; When the extension library to load is not located in the default extension
b444af
; directory, You may specify an absolute path to the library file:
b444af
;
b444af
;   extension=/path/to/extension/mysqli.so
b444af
;
b444af
; Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
b444af
; 'extension='php_<ext>.dll') is supported for legacy reasons and may be
b444af
; deprecated in a future PHP major version. So, when it is possible, please
b444af
; move to the new ('extension=<ext>) syntax.
b444af
b444af
;;;;
b444af
; Note: packaged extension modules are now loaded via the .ini files
b444af
; found in the directory /etc/php.d; these are loaded by default.
b444af
;;;;
b444af
b444af
;;;;;;;;;;;;;;;;;;;
b444af
; Module Settings ;
b444af
;;;;;;;;;;;;;;;;;;;
b444af
b444af
[CLI Server]
b444af
; Whether the CLI web server uses ANSI color coding in its terminal output.
b444af
cli_server.color = On
b444af
b444af
[Date]
b444af
; Defines the default timezone used by the date functions
b444af
; http://php.net/date.timezone
b444af
;date.timezone =
b444af
b444af
; http://php.net/date.default-latitude
b444af
;date.default_latitude = 31.7667
b444af
b444af
; http://php.net/date.default-longitude
b444af
;date.default_longitude = 35.2333
b444af
b444af
; http://php.net/date.sunrise-zenith
b444af
;date.sunrise_zenith = 90.833333
b444af
b444af
; http://php.net/date.sunset-zenith
b444af
;date.sunset_zenith = 90.833333
b444af
b444af
[filter]
b444af
; http://php.net/filter.default
b444af
;filter.default = unsafe_raw
b444af
b444af
; http://php.net/filter.default-flags
b444af
;filter.default_flags =
b444af
b444af
[iconv]
b444af
; Use of this INI entry is deprecated, use global input_encoding instead.
b444af
; If empty, default_charset or input_encoding or iconv.input_encoding is used.
b444af
; The precedence is: default_charset < input_encoding < iconv.input_encoding
b444af
;iconv.input_encoding =
b444af
b444af
; Use of this INI entry is deprecated, use global internal_encoding instead.
b444af
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
b444af
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
b444af
;iconv.internal_encoding =
b444af
b444af
; Use of this INI entry is deprecated, use global output_encoding instead.
b444af
; If empty, default_charset or output_encoding or iconv.output_encoding is used.
b444af
; The precedence is: default_charset < output_encoding < iconv.output_encoding
b444af
; To use an output encoding conversion, iconv's output handler must be set
b444af
; otherwise output encoding conversion cannot be performed.
b444af
;iconv.output_encoding =
b444af
b444af
[imap]
b444af
; rsh/ssh logins are disabled by default. Use this INI entry if you want to
b444af
; enable them. Note that the IMAP library does not filter mailbox names before
b444af
; passing them to rsh/ssh command, thus passing untrusted data to this function
b444af
; with rsh/ssh enabled is insecure.
b444af
;imap.enable_insecure_rsh=0
b444af
b444af
[intl]
b444af
;intl.default_locale =
b444af
; This directive allows you to produce PHP errors when some error
b444af
; happens within intl functions. The value is the level of the error produced.
b444af
; Default is 0, which does not produce any errors.
b444af
;intl.error_level = E_WARNING
b444af
;intl.use_exceptions = 0
b444af
b444af
[sqlite3]
b444af
; Directory pointing to SQLite3 extensions
b444af
; http://php.net/sqlite3.extension-dir
b444af
;sqlite3.extension_dir =
b444af
b444af
; SQLite defensive mode flag (only available from SQLite 3.26+)
b444af
; When the defensive flag is enabled, language features that allow ordinary
b444af
; SQL to deliberately corrupt the database file are disabled. This forbids
b444af
; writing directly to the schema, shadow tables (eg. FTS data tables), or
b444af
; the sqlite_dbpage virtual table.
b444af
; https://www.sqlite.org/c3ref/c_dbconfig_defensive.html
b444af
; (for older SQLite versions, this flag has no use)
b444af
;sqlite3.defensive = 1
b444af
b444af
[Pcre]
b444af
; PCRE library backtracking limit.
b444af
; http://php.net/pcre.backtrack-limit
b444af
;pcre.backtrack_limit=100000
b444af
b444af
; PCRE library recursion limit.
b444af
; Please note that if you set this value to a high number you may consume all
b444af
; the available process stack and eventually crash PHP (due to reaching the
b444af
; stack size limit imposed by the Operating System).
b444af
; http://php.net/pcre.recursion-limit
b444af
;pcre.recursion_limit=100000
b444af
b444af
; Enables or disables JIT compilation of patterns. This requires the PCRE
b444af
; library to be compiled with JIT support.
b444af
pcre.jit=0
b444af
b444af
[Pdo]
b444af
; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
b444af
; http://php.net/pdo-odbc.connection-pooling
b444af
;pdo_odbc.connection_pooling=strict
b444af
b444af
[Pdo_mysql]
b444af
; Default socket name for local MySQL connects.  If empty, uses the built-in
b444af
; MySQL defaults.
b444af
pdo_mysql.default_socket=
b444af
b444af
[Phar]
b444af
; http://php.net/phar.readonly
b444af
;phar.readonly = On
b444af
b444af
; http://php.net/phar.require-hash
b444af
;phar.require_hash = On
b444af
b444af
;phar.cache_list =
b444af
b444af
[mail function]
b444af
; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
b444af
; http://php.net/sendmail-path
b444af
sendmail_path = /usr/sbin/sendmail -t -i
b444af
b444af
; Force the addition of the specified parameters to be passed as extra parameters
b444af
; to the sendmail binary. These parameters will always replace the value of
b444af
; the 5th parameter to mail().
b444af
;mail.force_extra_parameters =
b444af
b444af
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
b444af
mail.add_x_header = Off
b444af
b444af
; The path to a log file that will log all mail() calls. Log entries include
b444af
; the full path of the script, line number, To address and headers.
b444af
;mail.log =
b444af
; Log mail to syslog (Event Log on Windows).
b444af
;mail.log = syslog
b444af
b444af
[ODBC]
b444af
; http://php.net/odbc.default-db
b444af
;odbc.default_db    =  Not yet implemented
b444af
b444af
; http://php.net/odbc.default-user
b444af
;odbc.default_user  =  Not yet implemented
b444af
b444af
; http://php.net/odbc.default-pw
b444af
;odbc.default_pw    =  Not yet implemented
b444af
b444af
; Controls the ODBC cursor model.
b444af
; Default: SQL_CURSOR_STATIC (default).
b444af
;odbc.default_cursortype
b444af
b444af
; Allow or prevent persistent links.
b444af
; http://php.net/odbc.allow-persistent
b444af
odbc.allow_persistent = On
b444af
b444af
; Check that a connection is still valid before reuse.
b444af
; http://php.net/odbc.check-persistent
b444af
odbc.check_persistent = On
b444af
b444af
; Maximum number of persistent links.  -1 means no limit.
b444af
; http://php.net/odbc.max-persistent
b444af
odbc.max_persistent = -1
b444af
b444af
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
b444af
; http://php.net/odbc.max-links
b444af
odbc.max_links = -1
b444af
b444af
; Handling of LONG fields.  Returns number of bytes to variables.  0 means
b444af
; passthru.
b444af
; http://php.net/odbc.defaultlrl
b444af
odbc.defaultlrl = 4096
b444af
b444af
; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
b444af
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
b444af
; of odbc.defaultlrl and odbc.defaultbinmode
b444af
; http://php.net/odbc.defaultbinmode
b444af
odbc.defaultbinmode = 1
b444af
b444af
[MySQLi]
b444af
b444af
; Maximum number of persistent links.  -1 means no limit.
b444af
; http://php.net/mysqli.max-persistent
b444af
mysqli.max_persistent = -1
b444af
b444af
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
b444af
; http://php.net/mysqli.allow_local_infile
b444af
;mysqli.allow_local_infile = On
b444af
b444af
; Allow or prevent persistent links.
b444af
; http://php.net/mysqli.allow-persistent
b444af
mysqli.allow_persistent = On
b444af
b444af
; Maximum number of links.  -1 means no limit.
b444af
; http://php.net/mysqli.max-links
b444af
mysqli.max_links = -1
b444af
b444af
; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
b444af
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
b444af
; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
b444af
; at MYSQL_PORT.
b444af
; http://php.net/mysqli.default-port
b444af
mysqli.default_port = 3306
b444af
b444af
; Default socket name for local MySQL connects.  If empty, uses the built-in
b444af
; MySQL defaults.
b444af
; http://php.net/mysqli.default-socket
b444af
mysqli.default_socket =
b444af
b444af
; Default host for mysqli_connect() (doesn't apply in safe mode).
b444af
; http://php.net/mysqli.default-host
b444af
mysqli.default_host =
b444af
b444af
; Default user for mysqli_connect() (doesn't apply in safe mode).
b444af
; http://php.net/mysqli.default-user
b444af
mysqli.default_user =
b444af
b444af
; Default password for mysqli_connect() (doesn't apply in safe mode).
b444af
; Note that this is generally a *bad* idea to store passwords in this file.
b444af
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
b444af
; and reveal this password!  And of course, any users with read access to this
b444af
; file will be able to reveal the password as well.
b444af
; http://php.net/mysqli.default-pw
b444af
mysqli.default_pw =
b444af
b444af
; Allow or prevent reconnect
b444af
mysqli.reconnect = Off
b444af
b444af
[mysqlnd]
b444af
; Enable / Disable collection of general statistics by mysqlnd which can be
b444af
; used to tune and monitor MySQL operations.
b444af
mysqlnd.collect_statistics = On
b444af
b444af
; Enable / Disable collection of memory usage statistics by mysqlnd which can be
b444af
; used to tune and monitor MySQL operations.
b444af
mysqlnd.collect_memory_statistics = Off
b444af
b444af
; Records communication from all extensions using mysqlnd to the specified log
b444af
; file.
b444af
; http://php.net/mysqlnd.debug
b444af
;mysqlnd.debug =
b444af
b444af
; Defines which queries will be logged.
b444af
;mysqlnd.log_mask = 0
b444af
b444af
; Default size of the mysqlnd memory pool, which is used by result sets.
b444af
;mysqlnd.mempool_default_size = 16000
b444af
b444af
; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
b444af
;mysqlnd.net_cmd_buffer_size = 2048
b444af
b444af
; Size of a pre-allocated buffer used for reading data sent by the server in
b444af
; bytes.
b444af
;mysqlnd.net_read_buffer_size = 32768
b444af
b444af
; Timeout for network requests in seconds.
b444af
;mysqlnd.net_read_timeout = 31536000
b444af
b444af
; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
b444af
; key.
b444af
;mysqlnd.sha256_server_public_key =
b444af
b444af
[PostgreSQL]
b444af
; Allow or prevent persistent links.
b444af
; http://php.net/pgsql.allow-persistent
b444af
pgsql.allow_persistent = On
b444af
b444af
; Detect broken persistent links always with pg_pconnect().
b444af
; Auto reset feature requires a little overheads.
b444af
; http://php.net/pgsql.auto-reset-persistent
b444af
pgsql.auto_reset_persistent = Off
b444af
b444af
; Maximum number of persistent links.  -1 means no limit.
b444af
; http://php.net/pgsql.max-persistent
b444af
pgsql.max_persistent = -1
b444af
b444af
; Maximum number of links (persistent+non persistent).  -1 means no limit.
b444af
; http://php.net/pgsql.max-links
b444af
pgsql.max_links = -1
b444af
b444af
; Ignore PostgreSQL backends Notice message or not.
b444af
; Notice message logging require a little overheads.
b444af
; http://php.net/pgsql.ignore-notice
b444af
pgsql.ignore_notice = 0
b444af
b444af
; Log PostgreSQL backends Notice message or not.
b444af
; Unless pgsql.ignore_notice=0, module cannot log notice message.
b444af
; http://php.net/pgsql.log-notice
b444af
pgsql.log_notice = 0
b444af
b444af
[bcmath]
b444af
; Number of decimal digits for all bcmath functions.
b444af
; http://php.net/bcmath.scale
b444af
bcmath.scale = 0
b444af
b444af
[browscap]
b444af
; http://php.net/browscap
b444af
;browscap = extra/browscap.ini
b444af
b444af
[Session]
b444af
; Handler used to store/retrieve data.
b444af
; http://php.net/session.save-handler
b444af
session.save_handler = files
b444af
b444af
; Argument passed to save_handler.  In the case of files, this is the path
b444af
; where data files are stored. Note: Windows users have to change this
b444af
; variable in order to use PHP's session functions.
b444af
;
b444af
; The path can be defined as:
b444af
;
b444af
;     session.save_path = "N;/path"
b444af
;
b444af
; where N is an integer.  Instead of storing all the session files in
b444af
; /path, what this will do is use subdirectories N-levels deep, and
b444af
; store the session data in those directories.  This is useful if
b444af
; your OS has problems with many files in one directory, and is
b444af
; a more efficient layout for servers that handle many sessions.
b444af
;
b444af
; NOTE 1: PHP will not create this directory structure automatically.
b444af
;         You can use the script in the ext/session dir for that purpose.
b444af
; NOTE 2: See the section on garbage collection below if you choose to
b444af
;         use subdirectories for session storage
b444af
;
b444af
; The file storage module creates files using mode 600 by default.
b444af
; You can change that by using
b444af
;
b444af
;     session.save_path = "N;MODE;/path"
b444af
;
b444af
; where MODE is the octal representation of the mode. Note that this
b444af
; does not overwrite the process's umask.
b444af
; http://php.net/session.save-path
b444af
b444af
; RPM note : session directory must be owned by process owner
b444af
; for mod_php, see /etc/httpd/conf.d/php.conf
b444af
; for php-fpm, see /etc/php-fpm.d/*conf
b444af
;session.save_path = "/tmp"
b444af
b444af
; Whether to use strict session mode.
b444af
; Strict session mode does not accept an uninitialized session ID, and
b444af
; regenerates the session ID if the browser sends an uninitialized session ID.
b444af
; Strict mode protects applications from session fixation via a session adoption
b444af
; vulnerability. It is disabled by default for maximum compatibility, but
b444af
; enabling it is encouraged.
b444af
; https://wiki.php.net/rfc/strict_sessions
b444af
session.use_strict_mode = 0
b444af
b444af
; Whether to use cookies.
b444af
; http://php.net/session.use-cookies
b444af
session.use_cookies = 1
b444af
b444af
; http://php.net/session.cookie-secure
b444af
;session.cookie_secure =
b444af
b444af
; This option forces PHP to fetch and use a cookie for storing and maintaining
b444af
; the session id. We encourage this operation as it's very helpful in combating
b444af
; session hijacking when not specifying and managing your own session id. It is
b444af
; not the be-all and end-all of session hijacking defense, but it's a good start.
b444af
; http://php.net/session.use-only-cookies
b444af
session.use_only_cookies = 1
b444af
b444af
; Name of the session (used as cookie name).
b444af
; http://php.net/session.name
b444af
session.name = PHPSESSID
b444af
b444af
; Initialize session on request startup.
b444af
; http://php.net/session.auto-start
b444af
session.auto_start = 0
b444af
b444af
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
b444af
; http://php.net/session.cookie-lifetime
b444af
session.cookie_lifetime = 0
b444af
b444af
; The path for which the cookie is valid.
b444af
; http://php.net/session.cookie-path
b444af
session.cookie_path = /
b444af
b444af
; The domain for which the cookie is valid.
b444af
; http://php.net/session.cookie-domain
b444af
session.cookie_domain =
b444af
b444af
; Whether or not to add the httpOnly flag to the cookie, which makes it
b444af
; inaccessible to browser scripting languages such as JavaScript.
b444af
; http://php.net/session.cookie-httponly
b444af
session.cookie_httponly =
b444af
b444af
; Add SameSite attribute to cookie to help mitigate Cross-Site Request Forgery (CSRF/XSRF)
b444af
; Current valid values are "Strict", "Lax" or "None". When using "None",
b444af
; make sure to include the quotes, as `none` is interpreted like `false` in ini files.
b444af
; https://tools.ietf.org/html/draft-west-first-party-cookies-07
b444af
session.cookie_samesite =
b444af
b444af
; Handler used to serialize data. php is the standard serializer of PHP.
b444af
; http://php.net/session.serialize-handler
b444af
session.serialize_handler = php
b444af
b444af
; Defines the probability that the 'garbage collection' process is started on every
b444af
; session initialization. The probability is calculated by using gc_probability/gc_divisor,
b444af
; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
b444af
; Default Value: 1
b444af
; Development Value: 1
b444af
; Production Value: 1
b444af
; http://php.net/session.gc-probability
b444af
session.gc_probability = 1
b444af
b444af
; Defines the probability that the 'garbage collection' process is started on every
b444af
; session initialization. The probability is calculated by using gc_probability/gc_divisor,
b444af
; e.g. 1/100 means there is a 1% chance that the GC process starts on each request.
b444af
; For high volume production servers, using a value of 1000 is a more efficient approach.
b444af
; Default Value: 100
b444af
; Development Value: 1000
b444af
; Production Value: 1000
b444af
; http://php.net/session.gc-divisor
b444af
session.gc_divisor = 1000
b444af
b444af
; After this number of seconds, stored data will be seen as 'garbage' and
b444af
; cleaned up by the garbage collection process.
b444af
; http://php.net/session.gc-maxlifetime
b444af
session.gc_maxlifetime = 1440
b444af
b444af
; NOTE: If you are using the subdirectory option for storing session files
b444af
;       (see session.save_path above), then garbage collection does *not*
b444af
;       happen automatically.  You will need to do your own garbage
b444af
;       collection through a shell script, cron entry, or some other method.
b444af
;       For example, the following script is the equivalent of setting
b444af
;       session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
b444af
;          find /path/to/sessions -cmin +24 -type f | xargs rm
b444af
b444af
; Check HTTP Referer to invalidate externally stored URLs containing ids.
b444af
; HTTP_REFERER has to contain this substring for the session to be
b444af
; considered as valid.
b444af
; http://php.net/session.referer-check
b444af
session.referer_check =
b444af
b444af
; Set to {nocache,private,public,} to determine HTTP caching aspects
b444af
; or leave this empty to avoid sending anti-caching headers.
b444af
; http://php.net/session.cache-limiter
b444af
session.cache_limiter = nocache
b444af
b444af
; Document expires after n minutes.
b444af
; http://php.net/session.cache-expire
b444af
session.cache_expire = 180
b444af
b444af
; trans sid support is disabled by default.
b444af
; Use of trans sid may risk your users' security.
b444af
; Use this option with caution.
b444af
; - User may send URL contains active session ID
b444af
;   to other person via. email/irc/etc.
b444af
; - URL that contains active session ID may be stored
b444af
;   in publicly accessible computer.
b444af
; - User may access your site with the same session ID
b444af
;   always using URL stored in browser's history or bookmarks.
b444af
; http://php.net/session.use-trans-sid
b444af
session.use_trans_sid = 0
b444af
b444af
; Set session ID character length. This value could be between 22 to 256.
b444af
; Shorter length than default is supported only for compatibility reason.
b444af
; Users should use 32 or more chars.
b444af
; http://php.net/session.sid-length
b444af
; Default Value: 32
b444af
; Development Value: 26
b444af
; Production Value: 26
b444af
session.sid_length = 26
b444af
b444af
; The URL rewriter will look for URLs in a defined set of HTML tags.
b444af
; <form> is special; if you include them here, the rewriter will
b444af
; add a hidden <input> field with the info which is otherwise appended
b444af
; to URLs. <form> tag's action attribute URL will not be modified
b444af
; unless it is specified.
b444af
; Note that all valid entries require a "=", even if no value follows.
b444af
; Default Value: "a=href,area=href,frame=src,form="
b444af
; Development Value: "a=href,area=href,frame=src,form="
b444af
; Production Value: "a=href,area=href,frame=src,form="
b444af
; http://php.net/url-rewriter.tags
b444af
session.trans_sid_tags = "a=href,area=href,frame=src,form="
b444af
b444af
; URL rewriter does not rewrite absolute URLs by default.
b444af
; To enable rewrites for absolute paths, target hosts must be specified
b444af
; at RUNTIME. i.e. use ini_set()
b444af
; <form> tags is special. PHP will check action attribute's URL regardless
b444af
; of session.trans_sid_tags setting.
b444af
; If no host is defined, HTTP_HOST will be used for allowed host.
b444af
; Example value: php.net,www.php.net,wiki.php.net
b444af
; Use "," for multiple hosts. No spaces are allowed.
b444af
; Default Value: ""
b444af
; Development Value: ""
b444af
; Production Value: ""
b444af
;session.trans_sid_hosts=""
b444af
b444af
; Define how many bits are stored in each character when converting
b444af
; the binary hash data to something readable.
b444af
; Possible values:
b444af
;   4  (4 bits: 0-9, a-f)
b444af
;   5  (5 bits: 0-9, a-v)
b444af
;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
b444af
; Default Value: 4
b444af
; Development Value: 5
b444af
; Production Value: 5
b444af
; http://php.net/session.hash-bits-per-character
b444af
session.sid_bits_per_character = 5
b444af
b444af
; Enable upload progress tracking in $_SESSION
b444af
; Default Value: On
b444af
; Development Value: On
b444af
; Production Value: On
b444af
; http://php.net/session.upload-progress.enabled
b444af
;session.upload_progress.enabled = On
b444af
b444af
; Cleanup the progress information as soon as all POST data has been read
b444af
; (i.e. upload completed).
b444af
; Default Value: On
b444af
; Development Value: On
b444af
; Production Value: On
b444af
; http://php.net/session.upload-progress.cleanup
b444af
;session.upload_progress.cleanup = On
b444af
b444af
; A prefix used for the upload progress key in $_SESSION
b444af
; Default Value: "upload_progress_"
b444af
; Development Value: "upload_progress_"
b444af
; Production Value: "upload_progress_"
b444af
; http://php.net/session.upload-progress.prefix
b444af
;session.upload_progress.prefix = "upload_progress_"
b444af
b444af
; The index name (concatenated with the prefix) in $_SESSION
b444af
; containing the upload progress information
b444af
; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
b444af
; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
b444af
; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
b444af
; http://php.net/session.upload-progress.name
b444af
;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
b444af
b444af
; How frequently the upload progress should be updated.
b444af
; Given either in percentages (per-file), or in bytes
b444af
; Default Value: "1%"
b444af
; Development Value: "1%"
b444af
; Production Value: "1%"
b444af
; http://php.net/session.upload-progress.freq
b444af
;session.upload_progress.freq =  "1%"
b444af
b444af
; The minimum delay between updates, in seconds
b444af
; Default Value: 1
b444af
; Development Value: 1
b444af
; Production Value: 1
b444af
; http://php.net/session.upload-progress.min-freq
b444af
;session.upload_progress.min_freq = "1"
b444af
b444af
; Only write session data when session data is changed. Enabled by default.
b444af
; http://php.net/session.lazy-write
b444af
;session.lazy_write = On
b444af
b444af
[Assertion]
b444af
; Switch whether to compile assertions at all (to have no overhead at run-time)
b444af
; -1: Do not compile at all
b444af
;  0: Jump over assertion at run-time
b444af
;  1: Execute assertions
b444af
; 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)
b444af
; Default Value: 1
b444af
; Development Value: 1
b444af
; Production Value: -1
b444af
; http://php.net/zend.assertions
b444af
zend.assertions = -1
b444af
b444af
; Assert(expr); active by default.
b444af
; http://php.net/assert.active
b444af
;assert.active = On
b444af
b444af
; Throw an AssertionError on failed assertions
b444af
; http://php.net/assert.exception
b444af
;assert.exception = On
b444af
b444af
; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
b444af
; http://php.net/assert.warning
b444af
;assert.warning = On
b444af
b444af
; Don't bail out by default.
b444af
; http://php.net/assert.bail
b444af
;assert.bail = Off
b444af
b444af
; User-function to be called if an assertion fails.
b444af
; http://php.net/assert.callback
b444af
;assert.callback = 0
b444af
b444af
[mbstring]
b444af
; language for internal character representation.
b444af
; This affects mb_send_mail() and mbstring.detect_order.
b444af
; http://php.net/mbstring.language
b444af
;mbstring.language = Japanese
b444af
b444af
; Use of this INI entry is deprecated, use global internal_encoding instead.
b444af
; internal/script encoding.
b444af
; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
b444af
; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
b444af
; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
b444af
;mbstring.internal_encoding =
b444af
b444af
; Use of this INI entry is deprecated, use global input_encoding instead.
b444af
; http input encoding.
b444af
; mbstring.encoding_translation = On is needed to use this setting.
b444af
; If empty, default_charset or input_encoding or mbstring.input is used.
b444af
; The precedence is: default_charset < input_encoding < mbstring.http_input
b444af
; http://php.net/mbstring.http-input
b444af
;mbstring.http_input =
b444af
b444af
; Use of this INI entry is deprecated, use global output_encoding instead.
b444af
; http output encoding.
b444af
; mb_output_handler must be registered as output buffer to function.
b444af
; If empty, default_charset or output_encoding or mbstring.http_output is used.
b444af
; The precedence is: default_charset < output_encoding < mbstring.http_output
b444af
; To use an output encoding conversion, mbstring's output handler must be set
b444af
; otherwise output encoding conversion cannot be performed.
b444af
; http://php.net/mbstring.http-output
b444af
;mbstring.http_output =
b444af
b444af
; enable automatic encoding translation according to
b444af
; mbstring.internal_encoding setting. Input chars are
b444af
; converted to internal encoding by setting this to On.
b444af
; Note: Do _not_ use automatic encoding translation for
b444af
;       portable libs/applications.
b444af
; http://php.net/mbstring.encoding-translation
b444af
;mbstring.encoding_translation = Off
b444af
b444af
; automatic encoding detection order.
b444af
; "auto" detect order is changed according to mbstring.language
b444af
; http://php.net/mbstring.detect-order
b444af
;mbstring.detect_order = auto
b444af
b444af
; substitute_character used when character cannot be converted
b444af
; one from another
b444af
; http://php.net/mbstring.substitute-character
b444af
;mbstring.substitute_character = none
b444af
b444af
; Enable strict encoding detection.
b444af
;mbstring.strict_detection = Off
b444af
b444af
; This directive specifies the regex pattern of content types for which mb_output_handler()
b444af
; is activated.
b444af
; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
b444af
;mbstring.http_output_conv_mimetype=
b444af
b444af
; This directive specifies maximum stack depth for mbstring regular expressions. It is similar
b444af
; to the pcre.recursion_limit for PCRE.
b444af
;mbstring.regex_stack_limit=100000
b444af
b444af
; This directive specifies maximum retry count for mbstring regular expressions. It is similar
b444af
; to the pcre.backtrack_limit for PCRE.
b444af
;mbstring.regex_retry_limit=1000000
b444af
b444af
[gd]
b444af
; Tell the jpeg decode to ignore warnings and try to create
b444af
; a gd image. The warning will then be displayed as notices
b444af
; disabled by default
b444af
; http://php.net/gd.jpeg-ignore-warning
b444af
;gd.jpeg_ignore_warning = 1
b444af
b444af
[exif]
b444af
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
b444af
; With mbstring support this will automatically be converted into the encoding
b444af
; given by corresponding encode setting. When empty mbstring.internal_encoding
b444af
; is used. For the decode settings you can distinguish between motorola and
b444af
; intel byte order. A decode setting cannot be empty.
b444af
; http://php.net/exif.encode-unicode
b444af
;exif.encode_unicode = ISO-8859-15
b444af
b444af
; http://php.net/exif.decode-unicode-motorola
b444af
;exif.decode_unicode_motorola = UCS-2BE
b444af
b444af
; http://php.net/exif.decode-unicode-intel
b444af
;exif.decode_unicode_intel    = UCS-2LE
b444af
b444af
; http://php.net/exif.encode-jis
b444af
;exif.encode_jis =
b444af
b444af
; http://php.net/exif.decode-jis-motorola
b444af
;exif.decode_jis_motorola = JIS
b444af
b444af
; http://php.net/exif.decode-jis-intel
b444af
;exif.decode_jis_intel    = JIS
b444af
b444af
[Tidy]
b444af
; The path to a default tidy configuration file to use when using tidy
b444af
; http://php.net/tidy.default-config
b444af
;tidy.default_config = /usr/local/lib/php/default.tcfg
b444af
b444af
; Should tidy clean and repair output automatically?
b444af
; WARNING: Do not use this option if you are generating non-html content
b444af
; such as dynamic images
b444af
; http://php.net/tidy.clean-output
b444af
tidy.clean_output = Off
b444af
b444af
[soap]
b444af
; Enables or disables WSDL caching feature.
b444af
; http://php.net/soap.wsdl-cache-enabled
b444af
soap.wsdl_cache_enabled=1
b444af
b444af
; Sets the directory name where SOAP extension will put cache files.
b444af
; http://php.net/soap.wsdl-cache-dir
b444af
b444af
; RPM note : cache directory must be owned by process owner
b444af
; for mod_php, see /etc/httpd/conf.d/php.conf
b444af
; for php-fpm, see /etc/php-fpm.d/*conf
b444af
soap.wsdl_cache_dir="/tmp"
b444af
b444af
; (time to live) Sets the number of second while cached file will be used
b444af
; instead of original one.
b444af
; http://php.net/soap.wsdl-cache-ttl
b444af
soap.wsdl_cache_ttl=86400
b444af
b444af
; Sets the size of the cache limit. (Max. number of WSDL files to cache)
b444af
soap.wsdl_cache_limit = 5
b444af
b444af
[sysvshm]
b444af
; A default size of the shared memory segment
b444af
;sysvshm.init_mem = 10000
b444af
b444af
[ldap]
b444af
; Sets the maximum number of open links or -1 for unlimited.
b444af
ldap.max_links = -1
b444af
b444af
[dba]
b444af
;dba.default_handler=
b444af
b444af
[opcache]
b444af
; see /etc/php.d/10-opcache.ini
b444af
b444af
[curl]
b444af
; A default value for the CURLOPT_CAINFO option. This is required to be an
b444af
; absolute path.
b444af
;curl.cainfo =
b444af
b444af
[openssl]
b444af
; The location of a Certificate Authority (CA) file on the local filesystem
b444af
; to use when verifying the identity of SSL/TLS peers. Most users should
b444af
; not specify a value for this directive as PHP will attempt to use the
b444af
; OS-managed cert stores in its absence. If specified, this value may still
b444af
; be overridden on a per-stream basis via the "cafile" SSL stream context
b444af
; option.
b444af
;openssl.cafile=
b444af
b444af
; If openssl.cafile is not specified or if the CA file is not found, the
b444af
; directory pointed to by openssl.capath is searched for a suitable
b444af
; certificate. This value must be a correctly hashed certificate directory.
b444af
; Most users should not specify a value for this directive as PHP will
b444af
; attempt to use the OS-managed cert stores in its absence. If specified,
b444af
; this value may still be overridden on a per-stream basis via the "capath"
b444af
; SSL stream context option.
b444af
;openssl.capath=
b444af
b444af
[ffi]
b444af
; see /etc/php.d/20-ffi.ini