Yes, you can do it by the help of CloudLinux lsapi/LiteSpeed API, use the following: AddHandler application/x-httpd-lsphp .htm .html .shtml For other PHP Handlers, you can utilize the following: Make a .htaccess file and transfer it to your public_html folder and add below lines: RemoveHandler .html .htm AddType application/x-httpd .php .htm .html Since these expansions will be prepared as PHP because of the above command, changing the permission on those file types to 755 might be required. In case above command not working properly, you can use command as below: AddType application/x-httpd-php5 .php5 .php4 .php .php3 .php2 .phtml .html .htm or AddType application/x-httpd-php .php5 .php4 .php .php3 .php2 .phtml .html .htm