|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2014-05-24 13:53 UTC] coding at web dot de
Description: ------------ As stated earlier, apache_request_headers should be available since 5.4 in FastCGI. http://de1.php.net/manual/en/function.apache-request-headers.php Unfortunately, when i try to call this essential function, i get in return: [Sat May 24 15:47:10 2014] [error] [client xxx.xxx.xxx.xxx] FastCGI: server "/var/running/php-fpm/fpm.external" stderr: PHP message: PHP Fatal error: Call to undefined function apache_request_headers() in /var/www/arh.php on line 3 So, it would be nice to know if this is missunderstood by me, or 5.4.28 FPM/FastCGI is still not offering this function. (and if anybody knows a workaround to this, i won't say no ;-) Test script: --------------- <?php print_r(apache_request_headers()); ?> PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 13:00:01 2025 UTC |
And in case if you say: stupid debian folks missed patches, they don't have 5.4.28 root@debian ~ # php5-fpm -v PHP 5.4.28-1~dotdeb.1 (fpm-fcgi) (built: May 7 2014 22:25:28) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd. ;-)