
How to parse HTML files as PHP on an Apache web server
If you need Apache to run PHP inside .html files, it's one line in .htaccess. Here's every variant (AddHandler, AddType, PHP4 vs PHP5) so you can find the syntax that works on your host.
1 min read