#15768 [Fbk->NoF]: FastCgi not picking up envrionemnt variables

From: Date: Mon, 23 Sep 2002 13:01:26 +0000
Subject: #15768 [Fbk->NoF]: FastCgi not picking up envrionemnt variables
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20098@lists.php.net to get a copy of this message
ID: 15768 Updated by: sniper@php.net Reported By: james@netregistry.com.au -Status: Feedback +Status: No Feedback Bug Type: PHP options/info functions Operating System: Linux 2.2.20 PHP Version: 4.1.1 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2002-08-30 13:59:57] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ [2002-03-09 23:51:17] accassar@optushome.com.au Hello, I can reproduce this problem with FastCGI under Zeus. 4.0.6 works fine in this environment, and register_globals is on. There are _not_ environment variables being set. Under _* or whatever. This is easily viewable from a php_info, or the previously submitted script with the correct environment vars :) ------------------------------------------------------------------------ [2002-02-28 17:15:02] james@netregistry.com.au Sorry, typo, its HTTP_SERVER_VARS Register globals is turned on so there is no reason why the script should only return one key/value. This seems to be a bug in the 4.1.x branch as the same script produces the expected output in 4.0.x Thx ------------------------------------------------------------------------ [2002-02-28 02:07:13] rasmus@php.net I don't see how this is a support question. In fact, there is no question at all in this report. Granted, his example code should probably use $HTTP_SERVER_VARS, but if it actually behaves like he says then it appears to be a bug. ------------------------------------------------------------------------ [2002-02-28 02:06:32] sniper@php.net oops..I clicked wrong link. Anyways, your example script is pretty much bogus. There is no such variable as HTTP_SERV_VARS. Try this instead: <?php foreach($_ENV as $key => $value) { echo $key.":".$value."<br>"; } ?> ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15768 -- Edit this bug report at http://bugs.php.net/?id=15768&edit=1

« previous php.bugs (#20098) next »