title: PHP in Apache: putenv has no effect
body: <p>PHP running in Apache:</p>
  
  <pre><code>if (! putenv ('PATH=/my/path:'.getenv('PATH')))
      print 'putenv failed';
  else
      print getenv("PATH");
  </code></pre>
  
  <p>This prints <code>/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin</code>, the path I specified isn't there. Why not?</p>