A run configuration is a stored setting for running a PHP project. You can define several configurations for one project and switch between them back and forth. Run configurations apply to both running and debugging.
All projects have a default run configuration, which is created in this panel. After you create a project, you can add additional run configurations in the Project Properties window.
Element | Description |
---|---|
Run As |
Select the default run configuration for the project from the drop-down list. The Run Configuration options change depending on which Run As choice you make |
Local Web Site |
Select this option to run the application on a local web server. This is the default option. |
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. |
Copy Files from Sources Folder to Another Location |
When selected, source files are copies to the specified folder. |
Copy to Folder |
Specify the absolute path to the folder for copies of the source files. You can use the Browse button to locate the folder on your local file system. |
Copy Files on Project Open |
When selected, the source files are automatically copied to the target folder when you open the project. |
Remote Web Site |
Select this option to run the application on a remote server. You need to specify the FTP or SFTP connection details of the remote server in the wizard. |
Project URL |
Specify the URL for the remote server. |
Remote Connection |
Select an existing remote connection from the drop-down list. If no connection exists you can click Manage to create a new connection. |
Upload Directory |
Specify the upload directory on the remote server. |
Upload Files |
Select an upload option from the drop-down list. |
Script |
Select this option to run the application on the command line. |
PHP Interpreter |
Specify the PHP interpreter for the project. The interpreter that you specify in this field overrides the interpreter that is specified in the Options window. The default interpreter is the default global interpreter that is specified in the Options window. |
PHP Built-in Web Server |
Select this option to run on the built-in web server. This option requires PHP 5.4 or newer. |
Hostname |
Specify the hostname of the server. |
Port |
Specify the port of the server. |
Related Topics
Developing Applications with NetBeans IDE,
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |