GoDaddy - the big and powerful they are, but when it comes to parsing php in html files they support team is clueless. In fact, they will keep sending to 3rd party links that has outdated information.
When you try the code samples (btw, they work with 99% of other hosting providers), they answer that they cannot help with the code further than providing these couple links. What a bunch of ….
I been with GoDaddy for long time and they been doing good job for certain projects, but this situation (which is very common), has been a total FAIL! Bob, kick some asses in the office, get your tech to do their job.
So to parse php in your html files on shared GoDaddy hosting, you have to use this code - example is as following:
AddType application/x-httpd-php .php .htm .html
AddHandler x-httpd-php5 .php .htm .html
Are you surprised? Yeah, the first line was something GoDaddy staff kept calm, they never ever mentioned this to me. Also after checking online, nobody really new the answer. Luckily till there was one quiet comment sharing the answer.
Also shame on Google, showing top results old, outdated and non working solutions. Hopefully this one will help some people in the future to get the html files to work with includes from php.
All in all - wasted about 5-7 replies to support guys with no success in about 1.5 week period. My site had lots of php extras that went down the drain in that time period.
Amen! Hopefully this is first and last tech blunder with them.