-
Open the Deployment dialog box. Do one of the following:
- Open the project settings and click Deployment.
- Choose on the main menu.
-
On the Deployment page, click the Add toolbar button
.
In the Add Server dialog box that opens,
specify the configuration name and the way to access the destination.
- To bind your sources with the upload destination
via an association between a volume and a directory on another volume
,
choose Mounted Folder.
- To copy the sources to the destination via the File Transfer Protocol, the File Transfer Protocol over SSL, or the Safe File Transfer Protocol, choose FTP or SFTP respectively.
- To bind your sources with the upload destination
via an association between a volume and a directory on another volume
-
Click OK to return to the Connection tab of the Deployment page,
where the name of the created configuration and the selected access type are displayed in the corresponding fields. Change the settings, if necessary.
Tip
Click the Use as Default toolbar button
to have PhpStorm silently apply the current configuration in the following cases:- Automatic upload of changed files.
- Manual upload of files without choosing the target host.
- Comparing local files and folders with their remote versions.
- Specify the connection settings depending on the chosen configuration type.
-
Specify the server configuration root, which is the highest folder accessible through the server configuration.
- For FTP, FTPS, or SFTP configurations, specify the path to the root folder relative to the host in the Root Path text box.
- For Mounted Folder configurations, specify the full path to the destination on the mounted folder.
- In the Web server root URL text box, type the URL address to access the server configuration root. Click the Open button to make sure that the specified URL address is accessible and points at the correct Web page.
- Specify bilateral or trilateral mappings, depending on the chosen configuration type.
