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