IntelliJ IDEA 14.0.0 Web Help

Deploying PHP Applications

Synchronization with Web servers is provided via the Remote Hosts Access bundled plugin.

The plugin is not bundled with IntelliJ IDEA, but it is available from the JetBrains plugin repository. Once enabled, the plugin is available at the IDE level, that is, you can use it in all your IntelliJ IDEA projects. See Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins for details.

With IntelliJ IDEA, you can flexibly configure deployment of PHP applications. For example, you can set up your PHP project on a local Web server from the very beginning, or develop and test an application locally and then upload it to a remote Web server, etc.

By default, the sources are deployed according to the chosen configuration when you run your application. However, you can have IntelliJ IDEA upload files automatically every time they are changed. In this case the default server configuration is used.

To configure deployment

  1. Create a local or remote Web server configuration.
  2. Define mappings between local folders, remote folders, and URL addresses.
  3. Customize the upload procedure by specifying additional options.

To have updated files uploaded automatically, do one of the following

  • Choose Tools | Deployment | Automatic Upload on the main menu.
  • Open the project settings and click Options below the Deployment node. In the Options dialog box, select the Upload changed files automatically to the default server check box.

See Also

Last modified: 12 November 2014
comments powered by Disqus