Home >Backend Development >PHP Tutorial >Run PHP configuration method directly in Sublime, run sublime directly_PHP tutorial

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

WBOY
WBOYOriginal
2016-07-13 10:12:551058browse

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 />}

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...
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