Knowledgebase: cPanel / WHM
How can I execute php code as .htm or .html files?
Posted by VisiChat Hosting on 13 October 2013 04:37 PM

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

(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).