Home> php教程> php手册> body text

Sublime里直接运行PHP配置方法,sublime直接运行

WBOY
Release: 2016-06-13 09:19:59
Original
814 people have browsed it

Sublime里直接运行PHP配置方法,sublime直接运行

1.把PHP添加到系统环境变量:

环境变量加好了的效果如下:

2:设置Sublime

选中:Tools -> Build System -> New Build System....

添加如下配置:

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

ctrl + s 保存 命名为 : PHP.sublime-build

3.运行

ctrl + b 运行

方法是不是很简单呢,却很实用哦,后续再更新一些其他软件里运行php的配置方法。

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!