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