diff options
author | blizzz <blizzz@arthur-schiwon.de> | 2022-06-11 01:30:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-11 01:30:28 +0300 |
commit | 0cbfae6c37724b7d67e986f4018fb91167cc5c3f (patch) | |
tree | e3e678f1018ac53ed3109483a437960a635d3955 | |
parent | 5a1185f2fd9ddb851eed5962fa2d3091b76decac (diff) | |
parent | d837a0211898ac07c10e6d27cfd8eef0f6e7b4fd (diff) |
Merge pull request #32603 from nextcloud/backport/32575/stable24
[stable24] Improve warning about missing pnctl
-rw-r--r-- | console.php | 3 |
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( |