How can I execute php code as .htm or .html files?

In your .htaccess file insert this line of code:

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

Was this answer helpful?

 Print this Article

Also Read

Do you support GD & ImageMagick?

Yes, we do support GD & ImageMagick modules across all our servers. The module-binaries are...

How do I configure my desktop's mail client with an email account?

A mail client is an application you use to check your email. The mail client can be either web...

Stats not updating!

We allow our customers to update the stat by themselves. So login to your AWSTATS and click on...

How do I auto-redirect my web pages?

Redirects are used when you want to point a specific url or web page to another location. For...

What's the Hostname & Port for MySQL?

When configuring any of your scripts on the server, use the following connection info to connect...