| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
* Add functionality to expect log config options
|
|
|
|
|
|
|
| |
This reverts commit 5b01c4863fe9e4bc2702b2bbf66d292d23001a18.
The previous commit fixes the 32-bit issue. Maybe this one is also
needed, but let's see if any failures of this form turn up first.
|
| |
|
| |
|
| |
|
|\ |
|
| |\ |
|
| | | |
|
| | |
| | |
| | |
| | | |
Note the change appears mainly in command like ps.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Related to GH-6701
|
| | |
| | |
| | |
| | | |
Closes GH-6689.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Update year to 2021
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Update year to 2021
|
| | |
| | |
| | |
| | | |
Closes GH-6636.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We're starting to see a mix between uses of zend_bool and bool.
Replace all usages with the standard bool type everywhere.
Of course, zend_bool is retained as an alias.
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Revert "Fix bug #64865: Use CONTEXT_DOCUMENT_ROOT for scanning dir tree"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 98bfad738ad2734dfba5733323f7ba733daf3ec3.
This doesn't work well in some setups, see bug #80113 and GH-5051.
Reverting this for now.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
See GCC bug 69602: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69602
which emits the warning for (errno == EWOULDBLOCK || errno == EAGAIN)
which is the correct way of handling errors as the value of EWOULDBLOCK
and EAGAIN is implementation defined.
Therefore introduce a new macro function PHP_IS_TRANSIENT_ERROR()
which handles the case when EWOULDBLOCK and EAGAIN are identical.
Thanks to @twose for the idea.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To perform fast shutdown without full table cleanup we need all
internal functions to be in one continuous chunk. This was
violated when functions were deleted via disable_functions.
This drops the zend_disable_function() API in favor of
zend_disable_functions(), which disables the given list of
functions and performs the necessary rehash afterwards.
Also drop PG(disabled_functions), which is no longer used.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The fpm code actually uses aa_change_profile(), not change_hat(). Test
for the correct function. (libapparmor always has both, so this is just
a correctness fix.)
Closes GH-6037.
|
| |
| |
| |
| |
| |
| |
| | |
The comments were incorrectly aligned. Fix this by dropping the
alignment and moving the comments before the declarations.
Closes GH-5975.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Has frequent intermittent failures with:
ERROR: The NOTICE does not match expected message:
- PATTERN: /^\[\d\d-\w\w\w-\d{4} \d\d:\d\d:\d\d\] NOTICE: Terminating ...$/
- MESSAGE: [04-Aug-2020 08:15:37] WARNING: [pool unconfined_status] server reached max_children setting (2), consider raising it
- EXPECT: 'Terminating ...'
- ACTUAL: '2020 08:15:37] WARNING: [pool unconfined_status] server reached max_children setting (2), consider raising it'
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This option allows getting status from different endpoint (e.g. port
or UDS file) which is useful for getting status when all children are
busy with serving long running requests.
Internally a new shared pool with ondemand process manager is used. It
means that the status requests have reserved resources and should not
be blocked by other requests.
|
| |
| |
| |
| | |
Closes GH-5758
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The hash is used to check whether the arginfo file needs to be
regenerated. PHP-Parser will only be downloaded if this is actually
necessary.
This ensures that release artifacts will never try to regenerate
stubs and thus fetch PHP-Parser, as long as you do not modify any
files.
Closes GH-5739.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Restore XFAIL on fpm test
|
| |
| |
| |
| | |
Still fails intermittently.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The existing AC_FPM_APPARMOR macro (which is always run when FPM is
enabled) checks for the existence of libapparmor, and adds it to $LIBS
if found. The result is an "automagic" dependency on libapparmor that
depends not only on the user's configuration, but also on the build
host's environment.
In particular, this can cause problems if the user just happens to
have libapparmor installed (for testing or development) when he builds
PHP. Later, he may remove libapparmor, not realizing that PHP depends
on it. At that point, FPM will cease to work due to the missing library.
This commit adds a new configure flag called "--with-fpm-apparmor",
defaulting to "no", that enables or disables the feature. The new flag
is used to signal the user's intent; whether or not he wants to use
AppArmor. If he does, then we still check for the existence and
usability of libapparmor; however, it is now an error for the library
to be missing when --with-fpm-apparmor is requested.
Gentoo-bug: https://bugs.gentoo.org/637402
PHP-bug: https://bugs.php.net/bug.php?id=75519
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
The newly de-XFAILed tests have a race condition. Make sure we
terminate only after expecting all the log lines.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
These were XFAILed due to a bug in the log implementation that
caused intermittent failures. However, this issue is supposed to
be resolved in the meantime, so try dropping the XFAIL marker.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of marking unreachable code with `ZEND_ASSERT(0)`, we introduce
`ZEND_UNREACHABLE()`, so that MSVC which does not consider `assert(0)`
to mark unreachable code does no longer trigger C4715[1] warnings in
debug builds. This may be useful for other compilers as well.
[1] <https://docs.microsoft.com/de-de/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4715?view=vs-2019>
|
| |
| |
| |
| | |
Closes GH-5676.
|
| |
| |
| |
| | |
What is modified as boolean, should also be displayed as boolean.
|
| |
| |
| |
| |
| |
| | |
Drop checks for FPM status as per review
Closes GH-5530
|
| |
| |
| |
| |
| | |
For apache2handler, fpm, litespeed, phpdbg, specifically.
Partially implements GH-5295
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In some places, we need to make sure that no warnings are thrown
due to unknown encoding. The error reporting code tried to avoid
this by determining a "safe charset", but this introduces subtle
discrepancies in which charset is picked (normally
internal_encoding takes precedence). Avoid this by suppressing
the warning in the first place.
While here, use the fallback logic to print error messages with
substitution characters more consistently, to avoid skipping
parts of the error message entirely.
|
| |
| |
| |
| |
| |
| |
| |
| | |
These are always available as of C99.
Closes GH-5323
Co-authored-by: "Christoph M. Becker" <cmbecker69@gmx.de>
|
|\ \
| |/
| |
| |
| | |
* PHP-7.4:
Apply doc root fix for FPM
|
| |\
| | |
| | |
| | |
| | | |
* PHP-7.3:
Apply doc root fix for FPM
|