Knowledgebase

PHP parsing of files with HTML extension?

In order to parse PHP files with an .html extension, you will need to create an .htaccess file and upload this to your "public_html" folder.

You need to add this to your .htaccess:

AddType application/x-httpd-php5 .html

  • 40 Users Found This Useful

Was this answer helpful?

Related Articles

Errors relating to Magic Quotes

If your getting error messages relating to "Magic Quotes" when using or programming in PHP, or...

Creating PHPinfo files

When you first setup your hosting account with you you will probably want to see whats...

open_basedir restriction in effect

If you are trying to use your temporary URL provided in your welcome email and are getting error...

Path to PEAR and PEARDB

Your path to PEAR on all servers is: /home/cpanelusername/php (Replacing "cpanelusername"...

Perl version & Path to Perl & Sendmail

If you need to find out the Current Versions and Paths to both Perl and Sendmail then simply...