首先打开xampp,点击图示按钮,打开apache和mysql服务
如何使用xampp在hbuilder中运行php文件

接着打开xampp根目录文件夹,找到一个htdocs文件夹
如何使用xampp在hbuilder中运行php文件

打开它,新建一个文件夹,命名为test(命名随意)
如何使用xampp在hbuilder中运行php文件
我们在hbuilder中打开该文件夹
如何使用xampp在hbuilder中运行php文件

新建一个php文件
如何使用xampp在hbuilder中运行php文件
打开它,输入一个echo语句,ctrl+s保存
如何使用xampp在hbuilder中运行php文件
打开浏览器,在地址栏中输入localhost/test/index.php
如何使用xampp在hbuilder中运行php文件

相关文章:

  • 2022-01-31
  • 2021-09-27
  • 2021-11-16
  • 2021-08-24
  • 2022-01-08
  • 2021-10-26
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2022-01-01
  • 2021-05-07
  • 2021-06-04
  • 2021-11-19
  • 2021-08-01
相关资源
相似解决方案