If you are receiving this error, this means .html files are parsed as PHP. In case, your .html has the tags like "<?" or "?>" you will receive the above error. File parser assumes that the PHP code is started and you will get the same error. If you don’t use the correct content type, you can receive this error with XML files. Once you remove the "<?" or "?>" from your html code, you shouldn’t receive the same error again.
Were you able to
find a solution today?
5 seconds
No email needed
✓
Thanks-that genuinely
helps.
Want us to follow up with an answer or a custom quote? Drop your email below. Totally optional.
Email saved - thank you!
Most Popular Articles
How to make your ASP.Net applications secure?
Adding security to Web apps may not be great fun, but it doesn't have to be hard. You can easily...
"which" command in Linux
which is a powerful command used in SSH environment to find out path of perl script, php...
Diagnostic Tools - Check Website Connection, Website Availability
Ping Ping is a command to check whether a destination computer system is working on a network or...
Google has reported my website as “Reported Attack Page", what should I do now?
When you try to browse your website or its URL, the web browser may show you a “Reported Attack...
Load balancing vs Fail Over Protection
Load balancing and failover both are different methods. In load balancing, all the requests...