title: How do you set the PHP error log location in the Apache configuration file?
body: <p>We have an out-of-the-box PHP application running on a subdomain, and it's logging errors in its DocumentRoot:</p>
  <pre class="lang-none prettyprint-override"><code>/var/www/appname/path/to/document/root/php-errors.log
  </code></pre>
  <p>...instead of where we want the error logs to go:</p>
  <pre class="lang-none prettyprint-override"><code>/var/www/appname/logs/php-errors.log
  </code></pre>
  <p>Since I don't want to change the code in the out-of-the-box application, and I don't want to change the error log location for <em>all</em> the subdomains (read: file <em>php.ini</em>), how can I do this in just the Apache configuration file that relates to the subdomain?</p>