How do i parse php in .html files?

In order to parse .html or .htm files as php, create a file called .htaccess (unless you already have one, then just edit the existing file) in your /public_html directory and add the following line:

 

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



  • 3 Users Found This Useful
Was this answer helpful?
Related Articles
Copyright © 2020 PlusPlusHosting.Net. All Rights Reserved.
2Checkout.com is an authorized reseller of goods and services provided by PlusPlusHosting.Net.