Table of Contents

Run PHP

You can preview your PHP scripts in phpDesigner 7 without debugging it using the PHP interpreter.

Configuration

Before you can run your PHP scripts, you must have the PHP package installed on your computer and configure phpDesigner to know where to find the PHP interpreter (php.exe, win-php.exe or php-cgi.exe).

  • On the Tools menu, point to Preferences
  • Select Debugger
  • In the field 'PHP' type in the path for the PHP interpreter (.exe), or click the Browse button to locate the PHP interpreter from your PHP installation.

If you are working with PHP extensions such as MySQL please specify where to find the PHP configuration file (php.ini).

  • On the Tools menu, point to Preferences
  • Select Debugger
  • In the field 'Configuration File' check and type in the path for the configuration file (.ini), or click the Browse button to locate the PHP interpreter

Usage

  • On the Debug menu, click Run

If the PHP interpreter finds any errors in the file, all errors, warning etc. they will be listed in the Debug panel.