diff --git a/app/Misc/Helper.php b/app/Misc/Helper.php index 0e4773d2a..a89fbeb03 100644 --- a/app/Misc/Helper.php +++ b/app/Misc/Helper.php @@ -1931,7 +1931,7 @@ public static function checkRequiredFunctions() 'proc_open (PHP)' => function_exists('proc_open'), 'fpassthru (PHP)' => function_exists('fpassthru'), 'symlink (PHP)' => function_exists('symlink'), - 'pcntl_signal (PHP)' => function_exists('pcntl_signal'), + 'pcntl_signal (console PHP)' => (int)shell_exec('php -r "echo (int)function_exists(\'pcntl_signal\');"'), 'ps (shell)' => function_exists('shell_exec') ? shell_exec('ps') : false, ]; }