B Bikerman Member Jun 9, 2017 #1 Jun 9, 2017 #1 Hi I have just upgraded to litespeed server. One of the older sites on our server processes HTML files as PHP. I have tried adding AddType application/x-httpd-php .htm .html to the .htacces file but that did not work. Is there a way of processing HTML files as PHP?
Hi I have just upgraded to litespeed server. One of the older sites on our server processes HTML files as PHP. I have tried adding AddType application/x-httpd-php .htm .html to the .htacces file but that did not work. Is there a way of processing HTML files as PHP?
P Pong Administrator Staff member Jun 9, 2017 #2 Jun 9, 2017 #2 It may depend on your apache configuration, how about: AddType application/x-httpd-php5 .htm .html .php If on a cpanel system, it should look similar to: AddType application/x-httpd-ea-php70 .php .php7 .phtml .html .htm
It may depend on your apache configuration, how about: AddType application/x-httpd-php5 .htm .html .php If on a cpanel system, it should look similar to: AddType application/x-httpd-ea-php70 .php .php7 .phtml .html .htm