- Choose on the main menu.
-
Do one of the following:
- To run the upload according to the default configuration, choose Upload to <default server configuration>.
- To run the upload according to a specific configuration, choose Upload to. Then from the pop-up menu, select the server configuration that defines access to the required host
When working on a PHP application, you can have its sources automatically uploaded to a remote host every time you run the application or initiate a debugging session from PhpStorm.
- During creation of a run/debug configuration, select the Upload Files to Remote Host check box in the Before launch area.
-
Click the Browse button
next to the check box.
In the Upload to Remote Host dialog box that opens, specify the following:
- The server configuration to access the required host.
- The local root folders to upload. All the folders and files under the specified roots will be uploaded.
PhpStorm considers a local file changed as soon as it is saved either automatically or manually. PhpStorm performs automatic save on a regular scheduled basis. Manual save is invoked by choosing on the main menu or pressing Ctrl+SCtrl+S.
-
Open the Options dialog box by doing one of the following:
- Choose on the main menu.
- Open the project settings and click Options below the Deployment node.
-
In the Upload changed files automatically to the default server drop-down list, specify when you want PhpStorm to upload changed files:
- To have PhpStorm upload any saved file no matter whether the save was invoked manually or automatically, choose Always.
- To have PhpStorm upload only files that were saved manually, choose On explicit save action.
- Start checking in your changes.
-
In the After Commit area, choose the target remote host from the Upload file to drop-down list. Choose one of the existing server access configuration
or create a new one: click the Browse button
and configure access to the relevant remote host
in the Deployment dialog box that opens.
- To have PhpStorm automatically upload checked in files to the chosen remote host, select the Always use selected server check box.
-
Open the Options dialog box by doing one of the following:
- Open the project settings and click Options below the node.
- Choose on the main menu.
- From the Upload changed files automatically to the default server drop-down list, choose Never.

