参考http://segmentfault.com/blog/tony/1190000000395951

  1. 把php添加到环境变量

1.我的电脑->属性->高级系统设置->高级->环境变量

2.找到Path变量

3.设置php目录 “;F:\wamp\bin\php\php5.4.12”

4.在sublime text 3上,Tools->Build System-> New Build System

内容:

{
    "cmd": ["php", "$file"],
    "file_regex": "php$",
    "selector": "source.php"
}

5.保存当前目录,文件名为.sublime-build

相关文章:

  • 2021-12-03
  • 2021-05-28
  • 2022-02-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-12-23
  • 2022-12-23
  • 2021-05-16
  • 2021-12-18
  • 2022-01-01
相关资源
相似解决方案