search

Home  >  Q&A  >  body text

PHP code in HTML is commented and not parsed

My configuration is centos8, PHP 7.2.24, Apache/2.4.37 and mysql 5.7.32. After installing a series of plug-ins, I found that the php code embedded in the html code cannot be parsed and will be commented out. This should How to deal with it?

16CEA068-2782-414D-B583-5D28088498D8.png

大海龟大海龟1311 days ago1252

reply all(4)I'll reply

  • 流年

    流年2021-06-13 15:08:22

    One less code to end all PHP. Not just a conclusion per line, but also a summary

    reply
    0
  • 大海龟

    I used a script written by someone else. Others have built it, but I didn’t build it here.

    大海龟 · 2021-06-13 15:09:32
  • 猪老湿

    猪老湿2021-06-10 21:18:58

    What do you want to do? What plug-ins are installed? What is your file extension and is the environment normal?

    reply
    0
  • 大海龟

    I changed the suffix of the html code to .php and it can be decoded normally, but if the suffix is ​​html, it cannot be decoded. There should be a problem with determining the file type, but I haven't found a good way to solve it yet.

    大海龟 · 2021-06-11 10:52:59
  • Cancelreply