Home >Backend Development >PHP Tutorial >phpstorm直接执行php脚本-不通过浏览器

phpstorm直接执行php脚本-不通过浏览器

WBOY
WBOYOriginal
2016-06-20 12:44:541119browse

之前用sublime,简单的配置下可以直接CTRL+b执行,在命令行显示结果,非常方便。
phpstorm也可以

步骤如下

  • Run-EditConfigurations-点击+号,选择php -script

  • name 随便写,我们可以写execute-script ,其中的Inter preter 如果你有多个php.exe文件,会提示无效,点击下面红色的Fix,选择一个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