mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.4'
* PHP-8.4: [skip ci] Skip php_cli_server_pdeathsig.phpt if pgrep is missing
This commit is contained in:
@@ -9,6 +9,7 @@ if (!(str_contains(PHP_OS, 'Linux') || str_contains(PHP_OS, 'FreeBSD'))) {
|
||||
die('skip PDEATHSIG is only supported on Linux and FreeBSD');
|
||||
}
|
||||
if (@file_exists('/.dockerenv')) die("skip Broken in Docker");
|
||||
if (!shell_exec("which pgrep")) die("skip Missing pgrep command");
|
||||
?>
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user