Using PHP in .html files on MediaTemple hosting

Trying to use PHP code in .html and/or .htm files on MediaTemple? Modify your existing .htaccess file with the following:

Before:
AddHandler php5-script .php

After:
AddHandler php5-script .php .html .htm

That will allow the MediaTemple servers to consider .html and .htm files valid extensions for running PHP code.

  1. Fantastic. Worked like a charm! Thanks. :) :razz:

  2. Great and Congrats. My only 5 cents are after copying disk image from HDD to SDD the performance was not that great. Dunno what was wrong: blocks size, fragmenting? But after restoring from Time Machine instead the speed was great.

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>