When I try to load a php inside an html page, somepage.html … It brings up a download box.
AddHandler application/x-httpd-php .html
AddType application/x-httpd-php html
Those were generated in my cpanel but still it shows a download box instead of the code.
What do I do?
Also additional information:
Apache version 2.2.17
PHP version 5.3.4
Not sure, but you can try:
Took it from this blog post.
EDIT: Just saw that you’re using PHP inside .html files. Can’t you just change the extension?