Pull in upstream changes to the php.ini
This commit is contained in:
parent
d236d0bed6
commit
d29934aca0
1 changed files with 56 additions and 48 deletions
104
php/php.ini
104
php/php.ini
|
@ -108,11 +108,6 @@
|
|||
; Development Value: E_ALL
|
||||
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
|
||||
|
||||
; html_errors
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production value: On
|
||||
|
||||
; log_errors
|
||||
; Default Value: Off
|
||||
; Development Value: On
|
||||
|
@ -289,6 +284,13 @@ implicit_flush = Off
|
|||
; callback-function.
|
||||
unserialize_callback_func =
|
||||
|
||||
; The unserialize_max_depth specifies the default depth limit for unserialized
|
||||
; structures. Setting the depth limit too high may result in stack overflows
|
||||
; during unserialization. The unserialize_max_depth ini setting can be
|
||||
; overridden by the max_depth option on individual unserialize() calls.
|
||||
; A value of 0 disables the depth limit.
|
||||
;unserialize_max_depth = 4096
|
||||
|
||||
; When floats & doubles are serialized, store serialize_precision significant
|
||||
; digits after the floating point. The default value ensures that when floats
|
||||
; are decoded with unserialize, the data will remain the same.
|
||||
|
@ -359,6 +361,12 @@ zend.enable_gc = On
|
|||
; Default: ""
|
||||
;zend.script_encoding =
|
||||
|
||||
; Allows to include or exclude arguments from stack traces generated for exceptions
|
||||
; Default: Off
|
||||
; In production, it is recommended to turn this setting on to prohibit the output
|
||||
; of sensitive information in stack traces
|
||||
zend.exception_ignore_args = On
|
||||
|
||||
;;;;;;;;;;;;;;;;;
|
||||
; Miscellaneous ;
|
||||
;;;;;;;;;;;;;;;;;
|
||||
|
@ -511,7 +519,7 @@ ignore_repeated_errors = Off
|
|||
ignore_repeated_source = Off
|
||||
|
||||
; If this parameter is set to Off, then memory leaks will not be shown (on
|
||||
; stdout or in the log). This has only effect in a debug compile, and if
|
||||
; stdout or in the log). This is only effective in a debug compile, and if
|
||||
; error reporting includes E_WARNING in the allowed list
|
||||
; http://php.net/report-memleaks
|
||||
report_memleaks = On
|
||||
|
@ -540,11 +548,8 @@ report_memleaks = On
|
|||
; error message as HTML for easier reading. This directive controls whether
|
||||
; the error message is formatted as HTML or not.
|
||||
; Note: This directive is hardcoded to Off for the CLI SAPI
|
||||
; Default Value: On
|
||||
; Development Value: On
|
||||
; Production value: On
|
||||
; http://php.net/html-errors
|
||||
html_errors = On
|
||||
;html_errors = On
|
||||
|
||||
; If html_errors is set to On *and* docref_root is not empty, then PHP
|
||||
; produces clickable error messages that direct to a page describing the error
|
||||
|
@ -669,7 +674,7 @@ register_argc_argv = Off
|
|||
; first used (Just In Time) instead of when the script starts. If these
|
||||
; variables are not used within a script, having this directive on will result
|
||||
; in a performance gain. The PHP directive register_argc_argv must be disabled
|
||||
; for this directive to have any affect.
|
||||
; for this directive to have any effect.
|
||||
; http://php.net/auto-globals-jit
|
||||
auto_globals_jit = On
|
||||
|
||||
|
@ -906,6 +911,7 @@ extension=curl
|
|||
;extension=dba
|
||||
;extension=enchant
|
||||
;extension=exif
|
||||
;extension=ffi
|
||||
;extension=ftp
|
||||
extension=gd
|
||||
;extension=gettext
|
||||
|
@ -913,7 +919,6 @@ extension=gmp
|
|||
;extension=iconv
|
||||
extension=imap
|
||||
extension=intl
|
||||
;extension=sodium
|
||||
;extension=ldap
|
||||
extension=memcached
|
||||
extension=mysqli
|
||||
|
@ -930,6 +935,7 @@ extension=pdo_mysql
|
|||
;extension=snmp
|
||||
;extension=soap
|
||||
;extension=sockets
|
||||
;extension=sodium
|
||||
;extension=sqlite3
|
||||
;extension=sysvmsg
|
||||
;extension=sysvsem
|
||||
|
@ -1125,37 +1131,6 @@ odbc.defaultlrl = 4096
|
|||
; http://php.net/odbc.defaultbinmode
|
||||
odbc.defaultbinmode = 1
|
||||
|
||||
[Interbase]
|
||||
; Allow or prevent persistent links.
|
||||
ibase.allow_persistent = 1
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
ibase.max_persistent = -1
|
||||
|
||||
; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
||||
ibase.max_links = -1
|
||||
|
||||
; Default database name for ibase_connect().
|
||||
;ibase.default_db =
|
||||
|
||||
; Default username for ibase_connect().
|
||||
;ibase.default_user =
|
||||
|
||||
; Default password for ibase_connect().
|
||||
;ibase.default_password =
|
||||
|
||||
; Default charset for ibase_connect().
|
||||
;ibase.default_charset =
|
||||
|
||||
; Default timestamp format.
|
||||
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
|
||||
|
||||
; Default date format.
|
||||
ibase.dateformat = "%Y-%m-%d"
|
||||
|
||||
; Default time format.
|
||||
ibase.timeformat = "%H:%M:%S"
|
||||
|
||||
[MySQLi]
|
||||
|
||||
; Maximum number of persistent links. -1 means no limit.
|
||||
|
@ -1186,11 +1161,11 @@ mysqli.default_port = 3306
|
|||
; http://php.net/mysqli.default-socket
|
||||
mysqli.default_socket =
|
||||
|
||||
; Default host for mysql_connect() (doesn't apply in safe mode).
|
||||
; Default host for mysqli_connect() (doesn't apply in safe mode).
|
||||
; http://php.net/mysqli.default-host
|
||||
mysqli.default_host =
|
||||
|
||||
; Default user for mysql_connect() (doesn't apply in safe mode).
|
||||
; Default user for mysqli_connect() (doesn't apply in safe mode).
|
||||
; http://php.net/mysqli.default-user
|
||||
mysqli.default_user =
|
||||
|
||||
|
@ -1717,6 +1692,11 @@ zend.assertions = -1
|
|||
; Default: 100000
|
||||
;mbstring.regex_stack_limit=100000
|
||||
|
||||
; This directive specifies maximum retry count for mbstring regular expressions. It is similar
|
||||
; to the pcre.backtrack_limit for PCRE.
|
||||
; Default: 1000000
|
||||
;mbstring.regex_retry_limit=1000000
|
||||
|
||||
[gd]
|
||||
; Tell the jpeg decode to ignore warnings and try to create
|
||||
; a gd image. The warning will then be displayed as notices
|
||||
|
@ -1884,6 +1864,10 @@ ldap.max_links = -1
|
|||
; errors.
|
||||
;opcache.mmap_base=
|
||||
|
||||
; Facilitates multiple OPcache instances per user (for Windows only). All PHP
|
||||
; processes with the same cache ID and user share an OPcache instance.
|
||||
;opcache.cache_id=
|
||||
|
||||
; Enables and sets the second level cache directory.
|
||||
; It should improve performance when SHM memory is full, at server restart or
|
||||
; SHM reset. The default "" disables file based caching.
|
||||
|
@ -1914,6 +1898,24 @@ ldap.max_links = -1
|
|||
; optimizations.
|
||||
;opcache.opt_debug_level=0
|
||||
|
||||
; Specifies a PHP script that is going to be compiled and executed at server
|
||||
; start-up.
|
||||
; http://php.net/opcache.preload
|
||||
;opcache.preload=
|
||||
|
||||
; Preloading code as root is not allowed for security reasons. This directive
|
||||
; facilitates to let the preloading to be run as another user.
|
||||
; http://php.net/opcache.preload_user
|
||||
;opcache.preload_user=
|
||||
|
||||
; Prevents caching files that are less than this number of seconds old. It
|
||||
; protects from caching of incompletely updated files. In case all file updates
|
||||
; on your site are atomic, you may increase performance by setting it to "0".
|
||||
;opcache.file_update_protection=2
|
||||
|
||||
; Absolute path used to store shared lockfiles (for *nix only).
|
||||
;opcache.lockfile_path=/tmp
|
||||
|
||||
[curl]
|
||||
; A default value for the CURLOPT_CAINFO option. This is required to be an
|
||||
; absolute path.
|
||||
|
@ -1937,6 +1939,12 @@ ldap.max_links = -1
|
|||
; SSL stream context option.
|
||||
;openssl.capath=
|
||||
|
||||
; Local Variables:
|
||||
; tab-width: 4
|
||||
; End:
|
||||
[ffi]
|
||||
; FFI API restriction. Possibe values:
|
||||
; "preload" - enabled in CLI scripts and preloaded files (default)
|
||||
; "false" - always disabled
|
||||
; "true" - always enabled
|
||||
;ffi.enable=preload
|
||||
|
||||
; List of headers files to preload, wildcard patterns allowed.
|
||||
;ffi.preload=
|
||||
|
|
Loading…
Reference in a new issue