Allows DrupalKernel::handle to handle more than one requests (rough support for PHP-PM)

Created on 19 April 2016, almost 9 years ago
Updated 17 October 2023, over 1 year ago

Hey folks!

I lately tried to get Drupal working with PHP-PM and thought about a little adjust that is absolutely required to get even basic functionality working. That functionality is basically that the HttpKernel/DrupalKernel allows a second request (more than one call against `DrupalKernel::handle`) without crashing.

Currently in the handle method calls always a method called `initializeSettings`, which is only necessary once. This patch basically makes sure, that method is only called once.

This gets the basic php-pm approach alive with Drupal. However, some common things currently don't work perfectly like session handling and css file name generation. I guess it's worth to merge this in, so other people don't stumble over the same when trying to get Drupal working with php-pm. :)

Cheers
Marc

📌 Task
Status

Needs work

Version

11.0 🔥

Component
Base 

Last updated 1 day ago

Created by

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024