Actually, it's simple to have an .html page or .phtml, whatever to be recognized as a PHP script and work properly. Just change your Apache config like so:
Code:
AddType application/x-httpd-php .php .html .phtml
Restart Apache server.
Basically just tells Apache to allow those suffixes to parse as PHP files if they happen to contain any PHP code.