title: Why is my $_ENV empty?
body: <p>I'm running <code>Apache/2.2.11 (Win32) PHP/5.3.0</code> and I did the following in my .htaccess file:</p>
  
  <pre><code>SetEnv FOO bar
  </code></pre>
  
  <p>If I print out the <code>$_ENV</code> variable in a PHP file, I get an empty array. Why doesn't my environment variable appear there? Why is it empty in the first place?</p>
  
  <p>I did find my variable though, but it appears in the <code>$_SERVER</code> variable. And for some reason it appears twice, sort of. Why is this?</p>
  
  <pre><code>[REDIRECT_FOO] =&gt; bar
  [FOO] =&gt; bar
  </code></pre>
  
  <p>It appears I can get it using <code>getenv('FOO')</code>, so maybe I should just use that instead. But I am still a bit curious to what causes this. Is this a Windows issue? Or what is going on?</p>