title: Allow cPanel to manage SetEnv parameters
body: <p>We have a application that makes use of an Apache environment parameter to determine what config it should use. Around 5 instances of the application are is hosted on one cPanel / WHM development server.</p>
  
  <p>We could use the <code>.htaccess</code> to set the right environment, but that results in uncommitted changes. cPanel should handle this variable via the vhost file, basically each vhost should have a different value:</p>
  
  <pre><code>SetEnv APP_ENV dev
  SetEnv APP_ENV test
  SetEnv APP_ENV trans
  </code></pre>
  
  <p>So, how can we let cPanel handle environment variables? It doesn't seem that this is possible, given the <code>SetEnv</code> can't be found in the vhost template.</p>
  
  <p><a href="https://blog.rac.me.uk/2013/05/29/new-relic-cpanel-apache-and-fastcgi-php/" rel="nofollow">https://blog.rac.me.uk/2013/05/29/new-relic-cpanel-apache-and-fastcgi-php/</a></p>