Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
bfd8d3a8
Verified
Commit
bfd8d3a8
authored
Nov 20, 2018
by
Florian Pritz
Browse files
php: Merge upstream configuration changes
Signed-off-by:
Florian Pritz
<
bluewind@xinu.at
>
parent
41bd3312
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/php-fpm/templates/php.ini.j2
View file @
bfd8d3a8
...
...
@@ -294,7 +294,7 @@ implicit_flush = Off
; callback-function.
unserialize_callback_func =
; When floats & doubles are serialized store serialize_precision significant
; 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.
; The value is also used for json_encode when encoding double values.
...
...
@@ -338,7 +338,7 @@ disable_classes =
; be increased on systems where PHP opens many files to reflect the quantity of
; the file operations performed.
; http://php.net/realpath-cache-size
;realpath_cache_size =
1
6k
;realpath_cache_size =
409
6k
; Duration of time, in seconds for which to cache realpath information for a given
; file or directory. For systems with rarely changing files, consider increasing this
...
...
@@ -525,8 +525,9 @@ report_memleaks = On
; Store the last error/warning message in $php_errormsg (boolean). Setting this value
; to On can assist in debugging and is appropriate for development servers. It should
; however be disabled on production servers.
; This directive is DEPRECATED.
; Default Value: Off
; Development Value: O
n
; Development Value: O
ff
; Production Value: Off
; http://php.net/track-errors
track_errors = Off
...
...
@@ -866,22 +867,21 @@ default_socket_timeout = 60
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
; extension=modulename
;
;
extension=msql.dll
;
For example:
;
;
... or under UNIX:
;
extension=mysqli
;
; extension=msql.so
; When the extension library to load is not located in the default extension
; directory, You may specify an absolute path to the library file:
;
;
... or with a path:
;
extension=/path/to/extension/mysqli.so
;
;
extension=/path/to/extension/msql.so
;
;
If you only provide the name of the extension, PHP will look for it in its
;
default extension directory
.
;
Note : The syntax used in previous PHP versions ('extension=<ext>.so' and
;
'extension='php_<ext>.dll') is supported for legacy reasons and may be
;
deprecated in a future PHP major version. So, when it is possible, please
;
move to the new ('extension=<ext>) syntax
.
;
{% for ext in php_extensions %}
extension={{ ext }}.so
...
...
@@ -1024,10 +1024,6 @@ mail.add_x_header = On
; Log mail to syslog (Event Log on Windows).
;mail.log = syslog
[SQL]
; http://php.net/sql.safe-mode
sql.safe_mode = Off
[ODBC]
; http://php.net/odbc.default-db
;odbc.default_db = Not yet implemented
...
...
@@ -1730,17 +1726,6 @@ soap.wsdl_cache_limit = 5
; Sets the maximum number of open links or -1 for unlimited.
ldap.max_links = -1
[mcrypt]
; For more information about mcrypt settings see http://php.net/mcrypt-module-open
; Directory where to load mcrypt algorithms
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
;mcrypt.algorithms_dir=
; Directory where to load mcrypt modes
; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
;mcrypt.modes_dir=
[dba]
;dba.default_handler=
...
...
@@ -1752,14 +1737,14 @@ opcache.enable=1
opcache.enable_cli=1
; The OPcache shared memory storage size.
;opcache.memory_consumption=
64
;opcache.memory_consumption=
128
; The amount of memory for interned strings in Mbytes.
;opcache.interned_strings_buffer=
4
;opcache.interned_strings_buffer=
8
; The maximum number of keys (scripts) in the OPcache hash table.
; Only numbers between 200 and 100000 are allowed.
;opcache.max_accelerated_files=
2
000
; Only numbers between 200 and 100000
0
are allowed.
;opcache.max_accelerated_files=
10
000
; The maximum percentage of "wasted" memory until a restart is scheduled.
;opcache.max_wasted_percentage=5
...
...
@@ -1786,9 +1771,6 @@ opcache.use_cwd=1
; size of the optimized code.
;opcache.save_comments=1
; If enabled, a fast shutdown sequence is used for the accelerated code
;opcache.fast_shutdown=0
; Allow file existence override (file_exists, etc.) performance feature.
;opcache.enable_file_override=0
...
...
@@ -1871,6 +1853,10 @@ opcache.validate_permission=1
; Prevent name collisions in chroot'ed environment.
opcache.validate_root=1
; If specified, it produces opcode dumps for debugging different stages of
; optimizations.
;opcache.opt_debug_level=0
[curl]
; A default value for the CURLOPT_CAINFO option. This is required to be an
; absolute path.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment