Project Properties Window: Run Configuration

Run configurations accommodate the most commonly used PHP development use cases. A run configuration is a stored setting for running a PHP project. You can define several configurations for one project and switch between them. Run configurations apply to both running and debugging.

Changes you make to the default run configuration, other than to the Run As field, propagate to all other configurations. Changes you make to any other configuration are specific to that configuration.

The Project Properties Run Configuration panel contains the following fields:

Element Description

Configuration

Select the run configuration that you want to modify from the drop-down list.

Click New to create a new run configuration and open a dialog box where you can name the new configuration. After you name the new configuration, the new configuration is selected in the Configuration field.

Click Delete to delete the selected run configuration.

Run As

Choose one of the following. The Run Configuration options change depending on which Run As choice you make:
  • Local Web Site (running on local web server). The default option, described below.
  • Remote Web Site (FTP/SFTP)
  • Script (Run on command line)
  • PHP Built-in Web Server (PHP 5.4 only)

Local Web Site Options

If you select the default, Local Web Site, you can configure it with the following options.

    Project URL

By default, this is http://localhost/ + the path to the copy of your project sources that is in your web server's public folder. You can change the URL if you have a different path mapped to your server.

    Index File

By default, this is index.php. Click Browse... to browse your project files for a different index file.

    Arguments

Arguments for running the index file. For example, debug=true.

    Advanced

Click this button if you use remote debugging or symbolic links. A dialog opens in which you set path mapping.


Related Topics

Developing Applications with NetBeans IDE,

Copyright © 2016, Oracle and/or its affiliates. All rights reserved.