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