1.首先打开File/Settings/Languages&Frameworks
配置Phpstorm运行php代码
配置Phpstorm运行php代码
2.打开里面的PHP
配置Phpstorm运行php代码
3.打开右侧的CLI Interpreter的省略号
配置Phpstorm运行php代码
4.点击左上角的加号选择下面的Local Path to Interpreter,然后选择PHP
配置Phpstorm运行php代码
5.最后选择PHP executable
配置Phpstorm运行php代码
然后在你的电脑中找到php.exe,选择后完成
配置Phpstorm运行php代码
6.配置成功,可以运行php代码了
配置Phpstorm运行php代码
写完代码后点击右上角的浏览器运行即可:
配置Phpstorm运行php代码

相关文章:

  • 2021-12-25
  • 2022-02-08
  • 2021-11-19
  • 2022-02-08
  • 2021-12-30
  • 2021-12-27
  • 2022-01-01
  • 2021-12-07
猜你喜欢
  • 2021-11-19
  • 2021-06-28
  • 2021-10-15
  • 2021-11-19
  • 2021-07-30
  • 2022-01-04
  • 2021-12-08
相关资源
相似解决方案