mirror of
https://github.com/nextcloud/server.git
synced 2026-06-09 00:32:29 -04:00
Merge pull request #32604 from nextcloud/backport/32575/stable23
[stable23] Improve warning about missing pnctl
This commit is contained in:
commit
6d483c0392
1 changed files with 2 additions and 1 deletions
|
|
@ -84,8 +84,9 @@ try {
|
|||
exit(1);
|
||||
}
|
||||
|
||||
if (!function_exists('pcntl_signal') && !in_array('--no-warnings', $argv)) {
|
||||
if (!(function_exists('pcntl_signal') && function_exists('pcntl_signal_dispatch')) && !in_array('--no-warnings', $argv)) {
|
||||
echo "The process control (PCNTL) extensions are required in case you want to interrupt long running commands - see https://www.php.net/manual/en/book.pcntl.php" . PHP_EOL;
|
||||
echo "Additionally the function 'pcntl_signal' and 'pcntl_signal_dispatch' need to be enabled in your php.ini." . PHP_EOL;
|
||||
}
|
||||
|
||||
$application = new Application(
|
||||
|
|
|
|||
Loading…
Reference in a new issue