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
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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).
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.