Bug #62596 [Opn->Csd]: getallheaders() missing with PHP-FPM
| From: | remi@php.net | Date: | Thu, 05 Jul 2018 04:31:25 +0000 |
| Subject: | Bug #62596 [Opn->Csd]: getallheaders() missing with PHP-FPM | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216144@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62596&edit=1
ID: 62596
Updated by: remi@php.net
Reported by: phofstetter at sensational dot ch
Summary: getallheaders() missing with PHP-FPM
-Status: Open
+Status: Closed
Type: Bug
Package: FPM related
Operating System: MacOS X, Linux
PHP Version: 5.4.4
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of remi@remirepo.net
Revision: http://git.php.net/?p=php-src.git;a=commit;h=0ea4013f101d64fbeb9221260b36e98f10ed1ddd
Log: Fixed bug #62596 add getallheaders (apache_request_headers) missing function in FPM add
sapi_add_request_header in public API (was add_request_header) fix arginfo for
fastcgi_finish_request fucntion
Previous Comments:
------------------------------------------------------------------------
[2018-07-04 07:07:30] remi@php.net
See https://github.com/php/php-src/pull/3363
------------------------------------------------------------------------
[2018-01-08 22:51:56] hobbsogblin at gmail dot com
Popular Linux distributions will begin defaulting to PHP-FPM in the not-so-distant future. Fedora 27
has already done so. It may be wise to get ahead of this issue.
------------------------------------------------------------------------
[2017-12-14 11:01:19] chris dot collins at boxuk dot com
It would be good if this could be resolved. It appears it has got close to being fixed in 5.5 and
5.6, but both times PRs have been closed due to those versions lapsing into "security fix
only" mode. It's still present in PHP 7.
The previously mentioned workaround to use a polyfill (ralouphie/getallheaders) works: at the very
least http://php.net/manual/en/function.getallheaders.php
should be updated to indicate this method is not always available.
------------------------------------------------------------------------
[2017-10-24 08:20:32] nospam dot ty5l at gribouille dot eu
Hello, I also commented here in 2013 for this bug to be fixed.
Apparently a person has been assigned to this bug in 2014.
Today 2017, it has been "un"assigned.
Does this means this bug will never get fixed ?
------------------------------------------------------------------------
[2017-07-28 09:59:17] jso at json dot com
so much years . why not fix this bug?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=62596
--
Edit this bug report at https://bugs.php.net/bug.php?id=62596&edit=1