note 128023 added to function.apache-request-headers
| From: | Anonymous at main dot php dot net | Date: | Fri, 16 Dec 2022 13:26:20 +0000 |
| Subject: | note 128023 added to function.apache-request-headers | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-219979@lists.php.net to get a copy of this message | ||
Documentation states:
"7.3.0 This function became available in the FPM SAPI."
So it would mean since PHP 7.3.0 this function is available even under FPM SAPI (nginx).
Apparently that's not the case.
I'm running PHP Version 7.4.3 and FPM/FastCGI which errors out with:
FastCGI sent in stderr: PHP message: PHP Fatal error: Uncaught Error: Call to undefined function
 apache_request_headers()...
----
Server IP: 45.112.84.4
Probable Submitter: 185.85.3.175 (proxied: 178.220.163.76)
----
Manual Page -- https://php.net/manual/en/function.apache-request-headers.php
Edit -- https://main.php.net/note/edit/128023
Del: integrated -- https://main.php.net/note/delete/128023/integrated
Del: useless -- https://main.php.net/note/delete/128023/useless
Del: bad code -- https://main.php.net/note/delete/128023/bad+code
Del: spam -- https://main.php.net/note/delete/128023/spam
Del: non-english -- https://main.php.net/note/delete/128023/non-english
Del: in docs -- https://main.php.net/note/delete/128023/in+docs
Del: other reasons-- https://main.php.net/note/delete/128023
Reject -- https://main.php.net/note/reject/128023
Search -- https://main.php.net/manage/user-notes.php