Commit 810ce5e5f6e for php

commit 810ce5e5f6e4bc64a01f998e30fd4c9418289e2c
Author: Lazizbek Ergashev <lazerg2@gmail.com>
Date:   Tue Oct 27 14:12:06 2026 +0500

    Fix GH-24695: FPM tester sends signal to process group when PID is missing (#24698)

    When FPM fails to start, getPid() reports the missing PID file and
    returns 0, and signal() then runs kill -USR2 0. That signals the whole
    process group and takes down run-tests.php along with the test. Now
    signal() returns early in that case, so the test just fails and the run
    keeps going.

    Co-authored-by: Bill Sommerfeld <sommerfeld@hamachi.org>

diff --git a/sapi/fpm/tests/tester.inc b/sapi/fpm/tests/tester.inc
index 8e67d17430a..c9825229248 100644
--- a/sapi/fpm/tests/tester.inc
+++ b/sapi/fpm/tests/tester.inc
@@ -1119,6 +1119,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);