Apache2, Linux, php5I have added this line to my .htaccess fileAddType application/x-httpd-php5 .htm .htmlrunning apace2ctl -m, shows this module loadedA php5_module (shared)I have a simple HTML page with one line of PHP code inside an <h2> tag <?php echo It works!; ?>When rendered in the browser the server appears to have commented the PHP out like so<!--?php echo It works!; ?-->If I rename the file with a PHP extension it works fine.Why won't Apache process the PHP code in my HTML files as directed? What am I doing wrong?
Using PHP inside .html files not working as expected
html;php;apache2;linux