php程序在editplus中运行
方法一:控制台输出运行结果
1.tools->user tools->add tools
Menu text :Run PHP
Command : D:\php\php.exe (PHP.exe所在目录)
Argument : $(FileDir)\$(FileName)
Action:Capture Out(捕获输出,默认是命令行输出)

2.Ctrl+1

方法二:像执行HTML文件一样Ctrl+B
1.默认虚拟主机的DocumentRoot 改为存放php文件的目录(D:\WAMP\Apache24\conf\extra)

2.tools-> tools里添加:

3.Ctrl+B

浙公网安备 33010602011771号