Help me set up to execute php in *.html files.
apache, centOS
In file .htaccess I wrote
AddHandler application/x-httpd-php .php .html .shtml .htm
does not respond
config apache
AddType application/x-httpd-php .html .htm or
AddType application/x-httpd-php .php .php5 .phtml .html .htm
HTML file is downloaded on opening the page
nginx solution is also interesting