Having issues with Parsing PHP in .HTML Files

April 14, 2014 2.5k views
Hi All, I have an issue parsing PHP in .HTML Files. I am using an install of Vesta and the domain is running fine. The site in question has AddType application/x-httpd-php4 .htm .html and AddType application/x-httpd-php5 .htm .html in the .htaccess, which before I moved it was allowing php to run in html. I can't figure out for the life of me why its not now working? Has anybody got any ideas? Thank you Dan Williams
1 Answer
I think you'd better write your code in .php files and use Apache Rewrite to modify the URL (like http://your_domain/a.php?b=c -> http://your_domain/a/b/c).
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!