Portal Home > 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
|
Add to Favourites
Print this Article |
Also Read
Powered by WHMCompleteSolution