Christoph M. Becker
e2ed7e6716
Allow multiple cache instances per user/host on Windows
...
Formerly, there was at most a single OPcache instance per user and the
so called system ID (which is determined from the PHP version).
Sometimes multiple OPcaches might be desired, though, particularly for
unrelated CLI scripts, which may even be necessary (e.g. for our test
suite in parallel mode).
We therefore introduce a new INI directive `opcache.cache_id` which
allows to configure independent OPcache instances for the same user.
We also use `GetUserNameW()` instead of `php_win32_get_username()`,
because the latter retrieves the user name encoded in the
`default_charset`, which can obviously yield different results for
different charsets, leading to OPcache "incompatibilities". Slightly
worse, some characters may not even be encodeable in the
`default_charset` and would be replaced by question marks, which could
result in different users sharing the same OPcache.
We also refactor, and re-use existing APIs to avoid duplicated code.
2019-07-17 19:51:07 +02:00
Christoph M. Becker
7556600dfc
Fix #65547 : Default value for sunrise/sunset zenith still wrong
...
The value of the zenith angle to calculate sunrise and sunset times is
commonly defined as 90°50', and is "obtained by adding the average
apparent radius of the Sun (16') to the average amount of atmospheric
refraction at the horizon (34')", according to
http://aa.usno.navy.mil/faq/docs/RST_defs.php .
This value is also used for the Sunrise/Sunset Algorithm published in
the Almanac for Computers, 1990, see
https://web.archive.org/web/20161202180207/http://williams.best.vwh.net/sunrise_sunset_algorithm.htm .
2019-07-15 13:52:09 +02:00
Joe Watkins
d41ab64456
Merge branch 'PHP-7.4'
...
* PHP-7.4:
simple ignore arguments in exceptions implementation
2019-07-02 13:19:25 +02:00
Joe Watkins
0819e6dc9b
simple ignore arguments in exceptions implementation
2019-07-02 13:18:39 +02:00
Nikita Popov
ca8f348646
Merge branch 'PHP-7.4'
2019-06-17 13:14:26 +02:00
Nikita Popov
1b63528d38
Merge branch 'PHP-7.3' into PHP-7.4
2019-06-17 13:14:18 +02:00
Erik Lundin
9f0515c40c
Add syslog.filter=raw
...
This passes through syslog message unchanged, without splitting
messages at newlines.
2019-06-17 13:13:25 +02:00
Kalle Sommer Nielsen
c71e35ea91
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove some more interbase leftovers
Fix typo
NEWS for ext/interbase unbundling
2019-05-01 23:45:24 +03:00
Kalle Sommer Nielsen
eaab0a2b6f
Remove some more interbase leftovers
2019-05-01 23:45:06 +03:00
Christoph M. Becker
7502df133c
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove html_errors from INI Quick Reference as INI values are identical to Engine values
2019-04-24 19:22:11 +02:00
George Peter Banyard
8b8d5a4bd1
Remove html_errors from INI Quick Reference as INI values are identical to Engine values
2019-04-24 19:21:52 +02:00
Gabriel Caruso
09d1a17ad3
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix typo
2019-04-17 05:48:16 -03:00
Gabriel Caruso
825fc6b438
Fix typo
...
Introduced via 9a85a944d8
2019-04-17 05:44:06 -03:00
Nikita Popov
772a158d7a
Merge branch 'PHP-7.4'
2019-04-16 10:40:01 +02:00
Nikita Popov
9a85a944d8
s/mysql_connect()/mysqli_connect() in php.ini
2019-04-16 10:39:40 +02:00
Peter Kokot
f9b5d9c2a7
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Add opcache.lockfile_path and opcache.lockfile_path to ini settings
2019-04-05 19:46:11 +02:00
Peter Kokot
1dd5ab0cad
Add opcache.lockfile_path and opcache.lockfile_path to ini settings
...
Some default opcache settings were missing.
2019-04-05 19:44:56 +02:00
Stanislav Malyshev
63e0c22037
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Unfortunately, travis CI has old oniguruma library
Update NEWS & UPGRADING
Add fallbacks for older oniguruma versions
Add mbstring.regex_stack_limit to php.ini-*
Implement RF bug #72777 - ensure stack limits on mbstring functions.
2019-04-01 00:32:49 -07:00
Stanislav Malyshev
077ce33aa9
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Update NEWS & UPGRADING
Add fallbacks for older oniguruma versions
Add mbstring.regex_stack_limit to php.ini-*
Implement RF bug #72777 - ensure stack limits on mbstring functions.
2019-04-01 00:05:36 -07:00
Stanislav Malyshev
bc4cb277d3
Add mbstring.regex_stack_limit to php.ini-*
2019-03-28 22:57:07 -07:00
Remi Collet
1df4ef0773
Merge branch 'PHP-7.4'
...
* PHP-7.4:
comment out sqlite3.defensive = 1 follow common practice, this is the default value
2019-03-19 16:28:22 +01:00
Remi Collet
11bdc3eca4
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
comment out sqlite3.defensive = 1 follow common practice, this is the default value
2019-03-19 16:28:10 +01:00
Remi Collet
5686e6e33e
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
comment out sqlite3.defensive = 1 follow common practice, this is the default value
2019-03-19 16:27:57 +01:00
Remi Collet
78c9a53df7
comment out sqlite3.defensive = 1
...
follow common practice, this is the default value
2019-03-19 16:26:26 +01:00
Christoph M. Becker
2b54140b72
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Fix #76956 : Wrong value for 'syslog.filter' documented in php.ini
2019-03-18 10:21:38 +01:00
Christoph M. Becker
e0e5d26c9c
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
Fix #76956 : Wrong value for 'syslog.filter' documented in php.ini
2019-03-18 10:20:41 +01:00
Christoph M. Becker
ad2d2e41de
Fix #76956 : Wrong value for 'syslog.filter' documented in php.ini
2019-03-18 10:19:30 +01:00
Christoph M. Becker
dd6911550f
Merge branch 'PHP-7.4'
...
* PHP-7.4:
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-11 16:32:16 +01:00
Christoph M. Becker
aefe0dfd61
Merge branch 'PHP-7.3' into PHP-7.4
...
* PHP-7.3:
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-11 16:31:26 +01:00
Christoph M. Becker
e7ce7c6bb2
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-11 16:30:16 +01:00
bohwaz
e93259bb23
SQLite3: add DEFENSIVE config for SQLite >= 3.26.0 as a mitigation strategy against potential security flaws
2019-03-11 16:26:15 +01:00
Kalle Sommer Nielsen
fddc751024
Removed pdo_odbc.db2_instance_name
2019-03-01 01:24:53 +02:00
Peter Kokot
623911f993
Merge branch 'PHP-7.4'
...
* PHP-7.4:
Remove local variables
2019-02-03 21:23:18 +01:00
Peter Kokot
92ac598aab
Remove local variables
...
This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.
A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.
This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.
With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.
Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files. All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.
2019-02-03 21:03:00 +01:00
Nikita Popov
9bc2cacf7f
Remove special treatment of strings in asserts
...
This was deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2 .
2019-01-29 09:42:59 +01:00
Nikita Popov
331e56ce38
Remove mbstring.func_overload
...
Deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2 .
2019-01-28 15:58:23 +01:00
Nikita Popov
920b4b249f
Remove track_errors and $php_errormsg
...
This has been deprecated in PHP 7.2 as part of
https://wiki.php.net/rfc/deprecations_php_7_2 .
2019-01-28 15:58:23 +01:00
Christoph M. Becker
467d8b3ff7
[ci skip] Add opcache.preload directive
2019-01-21 17:55:53 +01:00
Nikita Popov
38d0c5bacd
Merge branch 'PHP-7.3'
...
[ci skip]
2019-01-14 11:50:09 +01:00
Nikita Popov
5c3b17ca68
Merge branch 'PHP-7.2' into PHP-7.3
...
[ci skip]
2019-01-14 11:49:58 +01:00
wbob
5ac9990ddf
document open_basedir and realpath cache coupling in php.ini
...
[ci skip]
2019-01-14 11:49:45 +01:00
Dmitry Stogov
e089d506d5
Added FFI extension
2019-01-14 11:47:50 +03:00
Remi Collet
f2ac27e73c
Merge branch 'PHP-7.3'
...
* PHP-7.3:
add imap.enable_insecure_rsh in php.ini
2018-12-08 10:25:35 +01:00
Remi Collet
cb3a1df946
Merge branch 'PHP-7.2' into PHP-7.3
...
* PHP-7.2:
add imap.enable_insecure_rsh in php.ini
2018-12-08 10:25:20 +01:00
Remi Collet
fd0077bf06
Merge branch 'PHP-7.1' into PHP-7.2
...
* PHP-7.1:
add imap.enable_insecure_rsh in php.ini
2018-12-08 10:25:05 +01:00
Remi Collet
4288674651
add imap.enable_insecure_rsh in php.ini
2018-12-08 10:24:36 +01:00
Peter Kokot
37c329d715
Trim trailing whitespace in source code files
2018-10-13 14:17:28 +02:00
Peter Kokot
3362620b5f
Trim trailing whitespace in source code files
2018-10-13 14:16:33 +02:00
Peter Kokot
902d39a3a7
Trim trailing whitespace in source code files
2018-10-13 14:14:50 +02:00
Tiffany
318b34da05
Update grammar and clarify wording in couple places
...
On line 512, I clarified the sentence which uses effect, previously the sentence was awkward.
On line 656, the wrong word is used, I changed affect to effect.
2018-09-03 22:04:37 +02:00