AddType application/x-httpd-php5 .html .htm If you need to support other file types, like “..xml”, simply add them to the list, like this: AddType application/x-httpd-php5 .html.xml The entire text should look like this. <IfModule mime_module>
AddType application/x-httpd-php .php
</IfModule> Also, you could add the same line of code, anywhere inside your .htaccess file.