[php-src] PHP-8.6: Merge branch 'PHP-8.5' into PHP-8.6
| From: | Jakub Zelenka | Date: | Tue, 27 Oct 2026 09:15:02 +0000 |
| Subject: | [php-src] PHP-8.6: Merge branch 'PHP-8.5' into PHP-8.6 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142782@lists.php.net to get a copy of this message | ||
Author: Jakub Zelenka (bukka)
Date: 2026-10-27T10:14:47+01:00
Commit: https://github.com/php/php-src/commit/5fe484c018f20ef879f6402dc0e2107ebde2c4c2
Raw diff: https://github.com/php/php-src/commit/5fe484c018f20ef879f6402dc0e2107ebde2c4c2.diff
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5:
Fix GH-24695: FPM tester sends signal to process group when PID is missing (#24698)
Changed paths:
M sapi/fpm/tests/tester.inc
Diff:
diff --git a/sapi/fpm/tests/tester.inc b/sapi/fpm/tests/tester.inc
index 557f8c25e193..136b9ac44ff0 100644
--- a/sapi/fpm/tests/tester.inc
+++ b/sapi/fpm/tests/tester.inc
@@ -1124,6 +1124,9 @@ class Tester
{
if (is_null($pid)) {
$pid = $this->getPid();
+ if ($pid === 0) {
+ return '';
+ }
}
$cmd = "kill -$signal $pid";
$this->trace('Sending signal using command', $cmd, true);