Re: phpinfo
| From: | Matijn Woudt | Date: | Sun, 17 Jun 2012 20:58:17 +0000 |
| Subject: | Re: phpinfo | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-318267@lists.php.net to get a copy of this message | ||
On Sun, Jun 17, 2012 at 10:22 PM, Jim Giner
<jim.giner@albanyhandball.com> wrote:
> When one executes a phpinfo call, the display of info broken into the
> various sections mostly makes sense. The $_SERVER vars are listed with a
> _SERVER name, the environment ones show _ENV, and so on. But I question
> what are the duplicate ones that dont' have a prefix name.
>
> My concern is the PHP_AUTH_PW setting, which I was able to remove from the
> ENV and SERVER sections, but not from the section titled "Environment".
> How
> does one do this?
>
Those are the ones returned from getenv [1] or apache_getenv [2], and
you can set them using putenv [3] resp. apache_setenv [4].
- Matijn
[1] www.php.net/getenv
[2] www.php.net/apache_getenv
[3] www.php.net/putenv
[4] www.php.net/apache_setenv