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