Edit report at https://bugs.php.net/bug.php?id=62596&edit=1
ID: 62596
Comment by: php at vossey dot net
Reported by: phofstetter at sensational dot ch
Summary: getallheaders() missing with PHP-FPM
Status: Assigned
Type: Bug
Package: FPM related
Operating System: MacOS X, Linux
PHP Version: 5.4.4
Assigned To: fmargaine
Block user comment: N
Private report: N
New Comment:
This ommission is now 4 years old...
I know the PHP team hate distribution patches, but Debian has integrated a patch that fix this
missing function for FPM, at least for 5.6 (0046-getallheaders-for-php-fpm-62596.patch).
Why not take it?
Previous Comments:
------------------------------------------------------------------------
[2015-07-10 15:49:35] cmb@php.net
Related To: Bug #70025
------------------------------------------------------------------------
[2014-06-21 19:54:15] zaunere at gmail dot com
The documentation is misleading and regardless this type of functionality should be transparent
across all SAPIs (where applicable) - especially one as relevant as FPM.
Thank you!
------------------------------------------------------------------------
[2014-04-29 12:39:38] simon at ikanobori dot jp
Running PHP-FPM, 5.4.4 this is present.
The documentation on http://www.php.net/manual/en/function.getallheaders.php
mentions that this function became available from 5.4.0 for FastCGI and my PHP-FPM tells me its API
is FPM/FastCGI.
A solution is to either update the documentation with the workarounds mentioned in the comments or
to more clearly define that this is not available for PHP-FPM.
Or adding it to PHP-FPM.
------------------------------------------------------------------------
[2014-03-04 03:47:09] yinchuan dot blue at gmail dot com
PHP 5.4.9 with php-fpm having this issuse.
A fix would be much appreciated.
------------------------------------------------------------------------
[2013-09-16 12:54:52] nospam dot a5ef at gribouille dot eu
I'm having the same issue.
getallheaders() works fine using PHP-CGI (5.5.3), but compiling and using a 5.5.3
PHP-FPM will raise a Fatal error: Call to undefined function getallheaders()
A fix would be much appreciated.
------------------------------------------------------------------------
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