php程序在editplus中运行

方法一:控制台输出运行结果

1.tools->user tools->add tools

  Menu text :Run PHP 

  Command : D:phpphp.exe  (PHP.exe所在目录)

  Argument : $(FileDir)$(FileName) 

  Action:Capture Out(捕获输出,默认是命令行输出)

  

2.Ctrl+1

  

 方法二:像执行HTML文件一样Ctrl+B

1.默认虚拟主机的DocumentRoot 改为存放php文件的目录(D:WAMPApache24confextra)

  

 2.tools-> tools里添加:

  

3.Ctrl+B

原文地址:https://www.cnblogs.com/wk1992/p/13475367.html