I can't consistently log in when running Drupal under php-pm. I suspect this is somewhat due to it running under the cli SAPI, based on stepping through a request process and observing behavior around lines such as this in \Drupal\Core\StackMiddleware\Session::handle():
if ($type === self::MASTER_REQUEST && PHP_SAPI !== 'cli') {
$session = $this->container->get($this->sessionServiceName);
$session->start();
$request->setSession($session);
}
Given that there are several other cases of guards for PHP_SAPI !== 'cli' in core, it's probably a broader problem.
I can't consistently log in when running Drupal under php-pm. I suspect this is somewhat due to it running under the
cliSAPI, based on stepping through a request process and observing behavior around lines such as this in\Drupal\Core\StackMiddleware\Session::handle():Given that there are several other cases of guards for
PHP_SAPI !== 'cli'in core, it's probably a broader problem.