Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 293113

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

$
0
0

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


Viewing all articles
Browse latest Browse all 293113

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>