Red Hat Bugzilla – Bug 75712
php4 with apache 2, getenv(ANYTHING) returns blank string
Last modified: 2007-04-18 12:47:28 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux)
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make php page containing <?php getenv(REQUEST_METHOD) ?>
2. Load it
3. See it no workee
This is apparently fixed in CVS. It tends to break rather a log of PHP though :-/
I don't know if this is any help, but I found that by rewriting a line I was
able to make a work-around.
getenv() is fixed in php-4.2.2-10 - thanks for the report.
An errata has been issued which should help the problem described in this bug report.
This report is therefore being closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files, please follow the link below. You may reopen
this bug report if the solution does not work for you.