diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-24 20:44:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-24 20:44:26 +0200 |
commit | a40b6ce9956d529e8c94726587a4139d6627b250 (patch) | |
tree | 1b15b75a1e6967f178efec4b598e7b3163db6529 | |
parent | 53577ab34ae3e59b62fb57d35112b8f8d49d6de3 (diff) | |
parent | 98b25b457ee6def8bc2c355fdcbe569b83225645 (diff) | |
download | nextcloud-server-a40b6ce9956d529e8c94726587a4139d6627b250.tar.gz nextcloud-server-a40b6ce9956d529e8c94726587a4139d6627b250.zip |
Merge pull request #32575 from nextcloud/improve/warning
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..147cff151eb 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 enabeld in your php.ini." . PHP_EOL; } $application = new Application( |