Knowledgebase

How to execute php code as .htm or .html files

In your .htaccess file insert this line of code.

addhandler application/x-httpd-php .htm .html



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read