title: AddType application/x-httpd-php .html
body: <p>I am moving from a server with PHP 5 to a new server with PHP 7, and I am having issues to tell Apache to parse .html as PHP scripts.</p>
  
  <p>In my .htaccess file I have this line working correctly on my current server with PHP 5:</p>
  
  <pre><code>AddType application/x-httpd-php .html
  </code></pre>
  
  <p>But on the new server, that directive makes any .html file being downloaded instead than executed as a PHP script.</p>
  
  <p>I know that on the current server with PHP 5 installed, PHP is configured with API set as "Apache 2.0 Handler" whereas on this new server it is configured as "FPM/FastCGI" and I guess that maybe that's the problem? If so, how can I overcome it without having to change that API setting?</p>
  
  <p>I look forward to hearing from you. Thank you in advance for any help!</p>