Loading...

Knowledge Base

Adding .PHP to your html/htm (or any) files with a .htaccess file

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.

Did you find this article helpful?

 
* Your feedback is too short

Loading...