FrankenPHP to replace PHP-FPM #1439
jonathanlundstrom
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We've now worked on several projects where we need to create API:s that receive streamed files. In these instances (and surely many others) we have a need to verify the headers of the request and authenticate it – before accepting the actual octet stream to the server, or denying it in case of no access. With
nginx
andphp-fpm
this is simply not possible because of buffered requests, meaning that even if we disable stream buffering innginx
,php-fpm
will do it for us – no matter if we want this or not.As far as we've understood, this is not the case with modern PHP servers such as Open Swoole or FrankenPHP. While running these in production is a breeze, testing them locally means skipping Herd, and all the benefits that come with it – sadly...
So my question is, have you considered deprecating the current environment in favor of one of the two? Or are you planning to at least support them as an optional enhancement?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions