Knowledgebase: cPanel/WHM/Linux
Adding .PHP to you html/htm (or any) files with a .htaccess file
Posted by Noah Strehl on 21 October 2009 05:39 PM
Open your .htaccess file and add this on a new line:

AddHandler application/x-httpd-php5 .html .htm

Now your non-php files can use php.
(89 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).