How do I parse PHP in HTML pages?

If you wish parse PHP in your HTML pages you need to add the following line you the .htaccess file within the public_html directory of your account:

AddHandler application/x-httpd-php5 .html .htm

  • 96 Users Found This Useful
Was this answer helpful?

Related Articles

How do I use the Ioncube loaders?

The Ioncube loaders are installed and ready for use so you don't need to do anything to use them.

What is PHP's open_basedir restriction?

We have a security measure in place in PHP on all servers called "open_basedir". This is where...

Do you know of any PHP resources?

An excellent resource for users of PHP is They also have a nice...

Is NetPBM installed?

NetPBM is not installed in a central location on the server because ImageMagick can usually be...

What is the path to Perl?

The path to Perl on our servers is: /usr/bin/perl