Run PHP Scripts
You can use internal or external HTTP Server (Apache, MS IIS, etc.) for running PHP scripts within DzSoft PHP Editor.
Running PHP Scripts with DzSoft PHP Editor built-in HTTP server
To run scripts with internal HTTP server please download and install PHP for Windows. You can download last version of PHP here: www.php.net/downloads.php
When PHP will be installed, run DzSoft PHP Editor, click the Run ⇒ Parameters... menu and specify path to php.exe file on the HTTP Server Options page. Then you will be able to run your scripts.
The directory in which the current script is located is used as a Root Directory for the internal HTTP server. You can also specify a fixed Root Directory.
Note: If you specify a fixed Root Directory for the internal HTTP server, you will still be able to run scripts located in the current directory and subdirectories.
Running PHP Scripts with an external HTTP server
You can use any HTTP server (with PHP support) installed on your computer for running and testing PHP scripts.
To use external HTTP server please turn on the option Use External HTTP server installed on this computer on the HTTP Server Options sheet. Then specify host name (usually, localhost) and Root Directory of HTTP server.
If you use external HTTP server, you can run script in external browser by pressing Shift + F9.
Input Parameters and Environment Variables
You can specify input parameters and environment variables for scripts. Click Run->Parameters... and specify the parameters on Parameters page.

Marking a Script for Runing
Sometimes you will edit a script and for test it you must run other script. You can open some files and mark one of them as a Start Script. Then when you press "Run & Preview" the marked file will be executed, regardless of what file is selected.
Use the popup menu to mark a file:


|