How can I execute php code as .htm or .html files?

In your .htaccess file insert this line of code:

AddType application/x-httpd-php .html .htm .php
AddHandler application/x-httpd-php .html .htm .php

¿Fue útil la respuesta?

Artículos Relacionados

Best Affordable Premium High Quality Reliable Dedicated Servers - High Speed & DDoS Protection

Dual Core CentOs 6.x (64 bits)16 GB DDR3 RAM1 TB HDD5 TB Bandwidth5 Usable IpsAtom ServersE3...

Powered by WHMCompleteSolution