localhost 页面未显示 php 代码的正确输出

问题描述 投票:0回答:1

enter image description here 我已经通过 xampp 打开了我的 Apache。打开 htdocs 中的文件夹。然后写了“你好”。但刷新页面后就变成空白了。

我期待字符串出现在屏幕上。

php apache xampp localhost
1个回答
0
投票

确保您的 Apache 服务器运行 100%,然后将其放入 URL http://localhost/370_PRAC

应该显示“hello”

© www.soinside.com 2019 - 2024. All rights reserved.