Why are my php tags converted to html comments?

前端 未结 12 1738
[愿得一人]
[愿得一人] 2020-12-31 19:44

A friend\'s lamp host seems to be misconfigured. I try to execute php, but it doesn\'t seem to be working.

In Chrome\'s inspect element:



        
12条回答
  •  粉色の甜心
    2020-12-31 20:25

    I was faced with exact same problem when I accidently tried to test local php file in browser on server through file:// protocol, not through installed site.

    So the answer is one: "Mr. PHP has left the building". We need to check the configuration, location of a file or access.

    And browser is just trying to fix a web page and help us.

提交回复
热议问题