diff --git a/src/ReadinessChecker/PhpSapi.php b/src/ReadinessChecker/PhpSapi.php index fc1bce35178fa9bb078cf4e03c53b38281b65d3b..7b9628274b38f1b993cc1d94fe751b0ff089b5f2 100644 --- a/src/ReadinessChecker/PhpSapi.php +++ b/src/ReadinessChecker/PhpSapi.php @@ -37,6 +37,7 @@ class PhpSapi implements ReadinessCheckerInterface { if ($php_sapi !== PHP_SAPI) { $messages[] = $this->t('PHP changed from running as "@previous" to "@current". This can lead to inconsistent and misleading results.', ['@previous' => $php_sapi, '@current' => PHP_SAPI]); } + $this->state->set('automatic_updates.php_sapi', PHP_SAPI); return $messages; }