Skip to content

[FIX] Authentication with PHP CGI/FPM#385

Merged
dweeves merged 2 commits intodweeves:masterfrom
mobilizer:authorize_php_cgi_fpm
Dec 13, 2015
Merged

[FIX] Authentication with PHP CGI/FPM#385
dweeves merged 2 commits intodweeves:masterfrom
mobilizer:authorize_php_cgi_fpm

Conversation

@mobilizer
Copy link
Contributor

HTTP Authentication with PHP CGI/FPM is not working, since $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] is not set.

Workaround inspired by the Symphony code: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/ServerBag.php#L47

dweeves added a commit that referenced this pull request Dec 13, 2015
[FIX] Authentication with PHP CGI/FPM
@dweeves dweeves merged commit 8eca161 into dweeves:master Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants