Bug #67337 [NEW]: apache_request_headers still not available

From: Date: Sat, 24 May 2014 13:53:20 +0000
Subject: Bug #67337 [NEW]: apache_request_headers still not available
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185914@lists.php.net to get a copy of this message
From: coding at web dot de Operating system: Debian stable latest PHP version: 5.4.28 Package: FPM related Bug Type: Bug Bug description:apache_request_headers still not available 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()); ?> -- Edit bug report at https://bugs.php.net/bug.php?id=67337&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67337&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67337&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67337&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=67337&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=67337&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=67337&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=67337&r=needscript Try newer version: https://bugs.php.net/fix.php?id=67337&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=67337&r=support Expected behavior: https://bugs.php.net/fix.php?id=67337&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=67337&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=67337&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=67337&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67337&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=67337&r=dst IIS Stability: https://bugs.php.net/fix.php?id=67337&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=67337&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=67337&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=67337&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=67337&r=mysqlcfg

« previous php.bugs (#185914) next »