[php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5
| From: | Jakub Zelenka | Date: | Tue, 27 Oct 2026 09:14:27 +0000 |
| Subject: | [php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-142781@lists.php.net to get a copy of this message | ||
Author: Jakub Zelenka (bukka)
Date: 2026-10-27T10:14:12+01:00
Commit: https://github.com/php/php-src/commit/d8caef31da9ee15559f87623029a54ccca8bac96
Raw diff: https://github.com/php/php-src/commit/d8caef31da9ee15559f87623029a54ccca8bac96.diff
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4:
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 907988654337..0a2c393881c9 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);