Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-06-11 01:30:28 +0300
committerGitHub <noreply@github.com>2022-06-11 01:30:28 +0300
commit0cbfae6c37724b7d67e986f4018fb91167cc5c3f (patch)
treee3e678f1018ac53ed3109483a437960a635d3955
parent5a1185f2fd9ddb851eed5962fa2d3091b76decac (diff)
parentd837a0211898ac07c10e6d27cfd8eef0f6e7b4fd (diff)
Merge pull request #32603 from nextcloud/backport/32575/stable24
[stable24] Improve warning about missing pnctl
-rw-r--r--console.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/console.php b/console.php
index 7903ad25c70..f9a4689bd58 100644
--- a/console.php
+++ b/console.php
@@ -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(