carlwgeorge / rpms / php

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