本文共 387 字,大约阅读时间需要 1 分钟。
1.将php路径放入环境变量中
2.
点击 sublime_text的“工具”->"编译系统"->"编译新系统"
{ "cmd": ["make"] }
改为
{ "cmd": ["php", "$file"], "file_regex": "php$", "selector": "source.php" }
或者
{"cmd": ["php", "$file"],"file_regex": "^(...*?):([0-9]*):?([0-9]*)","selector": "source.php"}
另存为
php.sublime-build
3.执行快捷键为Ctrl+B。
本文转自TBHacker博客园博客,原文链接:http://www.cnblogs.com/jiqing9006/p/5045916.html,如需转载请自行联系原作者