-
Notifications
You must be signed in to change notification settings - Fork 71
Add missing $_SERVER values #14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Here are some example Using standard Nginx + PHP-FPM:
Using ReactPHP + PHP-PM (running under PHP-FPM):
Missing / different: These items from the standard PHP-FPM environment are either missing from or slightly different in the PHP-PM environment.
|
…ymfonyRequest. Issues: #5 php-pm/php-pm-httpkernel#14
Looks like the preferred way of manufacturing a synthetic request is with Based on that, I propose changing Results from testing pull request #16: Before:
After:
|
I pushed lately changes that should now fully populate the $_SERVER on each request. Want to check if it is working for you now? |
Problem/Motivation
Per the PHP docs, some standard
$_SERVER
values are missing.The CGI spec referenced lists these:
Proposed resolution
Set
$request->server
parameters correctly, such as inHttpKernel::mapRequest()
where the otherserver
parameters are set.API changes
The interface shouldn't change, but the values available through
$request->server->get()
should more accurately reflect a standard PHP server environment.The text was updated successfully, but these errors were encountered: