Bug #17662: getenv() Apache variables not available

From: Date: Sun, 09 Jun 2002 06:05:07 +0000
Subject: Bug #17662: getenv() Apache variables not available
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-9901@lists.php.net to get a copy of this message
From: garth@cybernode.com Operating system: SuSE 7.2 PHP version: 4.2.1 PHP Bug Type: Apache2 related Bug description: getenv() Apache variables not available This seems to be related to Closed Bug #12691 Just compiled Apache 2.0.36 and PHP 4.2.1. getenv(_ANYTHING_) returns nothing. Variables are set and available as $_SERVER[_ANYTHING_]. phpinfo() shows no section starting with 'Apache Environment'. PHP 4.2.1 configuration line: ./configure --with-apxs2=/usr/local/apache2/bin/apxs \ --with-mysql=/usr --enable-sysvshm --enable-sysvsem \ --enable-xml --enable-wddx \ --with-config-file-path=/etc/apache \ --with-regex=system --with-tsrm-pthreads --with-imap \ --with-ldap --with-gd=/usr/local/src/gd-1.8.4 \ --with-png-dir=/usr/local/src/libpng-1.2.2 \ --with-jpeg-dir=/usr/local/src/jpeg-6b --with-zlib \ --disable-debug --enable-track-vars \ --enable-magic-quotes --enable-bcmath \ --with-gettext --enable-ftp --with-db2 \ --with-curl=/usr/local/lib \ --withpfpro=shared,/usr/local/verisign/payflowpro/linux/lib \ --with-openssl=/usr/local/ssl Apache 2.0.36 configuration line: ./configure --prefix=/usr/local/apache2 \ --with-ssl=/usr/local/ssl \ --with-mpm=prefork --with-program-name=httpsd \ --enable-modules="speling rewrite ssl so" \ --enable-mime-magic --enable-unique-id -- Edit bug report at http://bugs.php.net/?id=17662&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=17662&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=17662&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=17662&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=17662&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=17662&r=support Expected behavior: http://bugs.php.net/fix.php?id=17662&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=17662&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=17662&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=17662&r=globals

« previous php.bugs (#9901) next »