Why are my php tags converted to html comments?

前端 未结 12 1751
[愿得一人]
[愿得一人] 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:10

    Sounds to me that your PHP is not correctly configured or installed in your lamp configuration. What distribution are you using? It might be as simple as running a command to re-install PHP, otherwise you will likely need to compile apache with php support.

提交回复
热议问题