Can't get PHP to parse in .html files

software development

#1

I’ve been trying to customize the .htaccess file on my Dreamhost shared server to parse PHP in .html files. I’ve tried the following commands with no luck…

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


#2

AddHandler php5-cgi .html

Keep in mind this will unnecessarily increase resource usage when processing static HTML files.

Customer since 2000 :cool: openvein.org