Home Hosting Domains IT Services Support Contact Us
MyAccount PortalClient AreaAnnouncementsKnowledgebaseSupport TicketsDownloads

Knowledgebase
You are here: MyAccount Portal > Knowledgebase > Apache & PHP Support > How to parse html as php

How to parse html as php

This can be set by putting the following code in ".htaccess"

1. edit .htaccess file

2. AddHandler application/x-httpd-php .php .html

This will do the trick.

If you want more extension to be parsed as php you can add as much

eg:

AddHandler application/x-httpd-php .php .phtml .html .htm .shtml .cgi .pl .asp .dll



Was this answer helpful?

Add to Favourites
Print this Article

Also Read
What's CHMOD? (Views: 482)


Network Status Client Area Knowledgebase Datacentre  
 
Terms of ServicePrivacy PolicyCustomer Security