Bug #15768: FastCgi not picking up envrionemnt variables

From: Date: Thu, 28 Feb 2002 00:03:19 +0000
Subject: Bug #15768: FastCgi not picking up envrionemnt variables
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1225@lists.php.net to get a copy of this message
From: james@netregistry.com.au Operating system: Linux 2.2.20 PHP version: 4.1.1 PHP Bug Type: PHP options/info functions Bug description: FastCgi not picking up envrionemnt variables The following script: <? foreach($HTTP_SERV_VARS as $key => $value) { echo $key.":".$value."<br>"; } ?> Produces the following output: PHP_SELF=/dump_globals.php4 Same script of PHP 4.0.x works fine. Seems to be consistent with the 4.1.x branch. Server: Zeus 3.4r2 Compile Options: ./configure --prefix=/usr/local/php4 --with-regex=system --enable-calendar --with-iodbc --with-dom --with-curl --with-openssl --with-db2 --with-iconv --enable-filepro --enable-ftp --with-gettext --enable-sysvsem --enable-sysvshm --enable-track-vars --enable-trans-sid --disable-debug --with-gd=/usr --with-imap=/usr --with-ldap=/usr --with-mm=/usr --with-mysql=/usr --with-regex=system --with-pcre-regex=/usr --with-pgsql=/usr --enable-sockets --with-ttf --enable-freetype-4bit-antialias-hack --with-t1lib --with-zlib --enable-memory-limit --with-fastcgi=/usr/local/fcgi/ --with-pear --enable-mbstring --enable-shmop --enable-exif --enable-bcmath --enable-safemode --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --with-xslt --with-xslt-sablot --with-mhash --with-mcrypt=/usr/local --with-tsrm-pth --enable-wddx --enable-shared=false Thx -- Edit bug report at http://bugs.php.net/?id=15768&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=15768&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=15768&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=15768&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=15768&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=15768&r=support Expected behavior: http://bugs.php.net/fix.php?id=15768&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=15768&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=15768&r=submittedtwice

« previous php.bugs (#1225) next »