title: Can I Override PHP Setting in htaccess When Using PHP-FPM?
body: <p>My vhost looks like this:</p>
  
  <pre><code>&lt;Directory "/var/www"&gt;
    Options Indexes FollowSymlinks MultiViews
    AllowOverride All
    Require all granted
  
    &lt;FilesMatch "\.php$"&gt;
      Require all granted
      SetHandler proxy:fcgi://127.0.0.1:9000
    &lt;/FilesMatch&gt;
  &lt;/Directory&gt;
  </code></pre>
  
  <p>I'm trying to add php_value lines to my .htaccess file. As soon as I do, I get 500 errors, and this in my Apache's errors log:</p>
  
  <blockquote>
    <p>/var/www/.htaccess: Invalid command 'php_value', perhaps misspelled or
    defined by a module not included in the server configuration</p>
  </blockquote>
  
  <p>So, the question: Is there any way to override php.ini settings via .htaccess, when using PHP-FPM?</p>
  
  <p>tia.</p>