Run PHP configuration method directly in Sublime, run sublime directly_PHP tutorial

WBOY
Release: 2016-07-13 10:12:55
Original
1045 people have browsed it

Run the PHP configuration method directly in Sublime, and run it directly in sublime

1. Add PHP to the system environment variables:

The effect of adding environment variables is as follows:

2: Set up Sublime

Select: Tools -> Build System -> New Build System....

Add the following configuration:

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

ctrl + s save named: PHP.sublime-build

3. Run

ctrl + b run

Isn’t the method very simple, but very practical? I will update some configuration methods for running php in other software later.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/919257.htmlTechArticleRun the PHP configuration method directly in Sublime, and run it directly in sublime 1. Add PHP to the system environment variables: Add environment variables The good effect is as follows: 2: Set up Sublime and select: Tools - Build Sy...
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template