From: mop at globalpark dot com Operating system: Linux PHP version: 5.3.1 PHP Bug Type: Feature/Change Request Bug description: FastCGI SAPI should provide raw headers
Description: ------------ PHP under fastcgi is completely missing some function to get all, raw header information. There is some function to do that inside the Apache SAPI. However i don't see any reason why this is missing in the fastcgi SAPI. As PHP modifies the raw headers (User-Agent => USER_AGENT, SOAPAction => SOAPACTION etc etc) before putting them into $_SERVER["HTTP_XXX"] (not to speak of custom headers) there is no safe solution to reproduce the Request including HTTP Headers in PHP+fastcgi. Reproduce code: --------------- x Expected result: ---------------- x Actual result: -------------- x -- Edit bug report at http://bugs.php.net/?id=50554&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50554&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50554&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50554&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50554&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50554&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50554&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50554&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50554&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50554&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50554&r=support Expected behavior: http://bugs.php.net/fix.php?id=50554&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50554&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50554&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50554&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50554&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50554&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50554&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50554&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50554&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50554&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50554&r=mysqlcfg
