Apache2, Linux, php5
I have added this line to my .htaccess file
AddType application/x-httpd-php5 .htm .html
apace2ctl -m, shows this module loaded
A php5_module (shared)
I have a simple HTML page with one line of PHP code inside an
<?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?