Your Webhosting Questions
Answered by the Webhosting Experts
Tags
...
...

Enable php code to work inside a .html / .htm file.

To get this to work you need to edit your
httpd.conf file.

Find the line that looks similar to this:
AddType application/x-httpd-php .php
and change it to look like this:
AddType application/x-httpd-php .php .htm .html
and all should be fine

If the server is shared :

Instead it can be put in .htaccess for the site.

AddType application/x-httpd-php .php .htm .html

Please restart httpd service after this

Need More Personalized Help?

If you have any further issues, questions, or would like some assistance checking on this or anything else, please reach out to us from your my.hivelocity.net account and provide your server credentials within the encrypted field for the best possible security and support.

If you are unable to reach your my.hivelocity.net account or if you are on the go, please reach out from your valid my.hivelocity.net account email to us here at: [email protected]. We are also available to you through our phone and live chat system 24/7/365.

Tags +
...