Friday, 24 November 2017

Execute PHP Code From EditPlus




EditPlus is the best editor for writing any program.Mostly we use it for Java programs.In my previous post, I have shown How to Execute Java from EditPlus.

Today I will explain PHP execution from EditPlus:

Goto Command Prompt and move to www folder of WAMP server

Once enter key is pressed EditPlus will popup with a dialog box asking for confirmation.Click Yes
.Go to Tools Menu in Edit Plus and Click Configure User Tools.The following screen is displayed.



To Add a Tool click Add Tool ->Program-->Give a proper name under Menu text.Then Browse for PHP interpreter.

 Select FilePath for Argument and FileDir for Initial Directory and In Actions: opt for Capture output.
\

Click OK.Now Type small PHP script.



Go To Tools and Click on New Shortcut created with the menu text:




After Running the PHP script we can view the output in the output window.