Knowledge Base
Categories: cPanel
Parse HTML Files as PHP
To parse HTML files as PHP scripts, create a file named '.htaccess' located at '/home/username/.htaccess' (replace 'username' with your actual cPanel username). Inside the file, add the following line:
AddHandler application/x-httpd-php5 .htm .html .php
All files ending in .htm, .html or .php will now be processed as PHP scripts.
* Your feedback is too short