You could also try "AddType application/x-httpd-php .html .htm" and "AddHandler x-httpd-php .html .htm" But why can't you just use .php? BTW, I'm not sure you can use php inside a src attribute.. Edit: not sure, but maybe there's something wrong with the apache config of htaccess files, since byron isn't able to set TZ in .htaccess either.