title: Override php_value per virtualhost
body: <p>I'd like to set a distinct <code>upload_max_filesize</code> for my virtualhosts. I have some web applications in each virtualhost, so changing the value globally in php.ini is not an option, as I'd like every virtualhost to have it's own value.</p>
  
  <p>So I've tried the following:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
   ServerName www.test.com
   ServerAlias test.com
   DocumentRoot /var/www/html/test/
   ErrorLog /var/log/httpd/test/error.log
   CustomLog /var/log/httpd/test/requests.log combined
  
   &lt;Directory /var/www/html/test/&gt;
    AllowOverride All
   &lt;/Directory&gt;
   php_value upload_max_filesize 5M
  &lt;/VirtualHost&gt;
  Alias /test /var/www/html/test/
  </code></pre>
  
  <p>In other words, I'm trying to set the value within the virtualhost .conf with <code>php_value upload_max_filesize 5M</code>. I read I'd to set an specific value for <code>AllowOverride</code> and I'm trying to set it here too, but this code doesn't work.</p>
  
  <p>I'd like to keep this settings under each virtualhost section, I won't prefer using an .htaccess file. </p>