更新时间:2023-08-22 22:02:22
这也发生在我身上.该修复程序将其包装在HTML标签中.然后,我将文件另存为/var/www/html/info.php 并运行 http://localhost/info.php 在浏览器中.就是这样.
This happened to me as well. The fix was wrapping it in HTML tags. Then I saved the file as /var/www/html/info.php and ran http://localhost/info.php in the browser. That's it.
<html>
<body>
<?php
phpinfo();
?>
</body>
</html>