#29850 [Opn->Bgs]: No environment variables
| From: | derick@php.net | Date: | Thu, 26 Aug 2004 16:20:17 +0000 |
| Subject: | #29850 [Opn->Bgs]: No environment variables | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-65296@lists.php.net to get a copy of this message | ||
ID: 29850
Updated by: derick@php.net
Reported By: haggeluring at comhem dot se
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: Slackware 10
PHP Version: 4.3.8
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Your variables_order php.ini setting doesn't contain the E.
Previous Comments:
------------------------------------------------------------------------
[2004-08-26 16:33:52] haggeluring at comhem dot se
Description:
------------
I am not able to access my systems environment variables from PHP,
neither cli or Apache module.
$_ENV just returns an empty array.
PHPInfo is available at http://lvk.mine.nu/phpinfo
php -v
PHP 4.3.8 (cli) (built: Jul 17 2004 11:20:16)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
Reproduce code:
---------------
<?php
print_r($_ENV);
?>
Expected result:
----------------
The code should return an array that contains the environment
variables.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29850&edit=1