本文介绍了配置sublime使其能直接运行php的方法,非常的实用,这里推荐给大家,希望对大家有所帮助。
1.把PHP添加到系统环境变量:
环境变量加好了的效果如下:
2:设置Sublime
选中:Tools -> Build System -> New Build System....
添加如下配置:
{
"cmd": ["php", "$file"],
"file_regex": "php$",
"selector": "source.php"
}
ctrl + s 保存 命名为 : PHP.sublime-build
3.运行
ctrl + b 运行
方法是不是很简单呢,却很实用哦,后续再更新一些其他软件里运行php的配置方法。
,
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn