title: How do I add paths to the Apache PATH variable?
body: <p>I've set in my custom.conf file in apache2 this:</p>
  
  <pre><code>SetEnv PATH $PATH:/opt/local/lib/mysql5/bin:/this-is-a-test
  </code></pre>
  
  <p>However it's not working. When I call:</p>
  
  <pre><code>$hey = shell_exec('env'." 2&gt;&amp;1"); var_dump($hey);
  </code></pre>
  
  <p>I get:</p>
  
  <pre><code>... PATH=/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/X11/bin:/opt/local/bin
  </code></pre>
  
  <p>Can anyone help? I'm on Mac using Macports for my development environment.
  Thanks!</p>