PhpStorm 2018.3 Help

Create New Project: Add Remote Server

File | New Project From Existing Files - Web server is installed locally, source files are located elsewhere locally
File | New Project From Existing Files - My web server is on remote host, files are accessible via network share or mounted drive
File | New Project From Existing Files - My web server is on remote host, files are accessible via FTP/SFTP/FTPS


The page opens if you have selected the Add new remote server option on the Create New Project: Specify Remote Server page. On this page, specify a new configuration of settings to connect and authenticate to a remote server.

Item

Description

Available for

Name

In this field, type the name of the new remote server configuration.

FTP, FTPS, SFTP

Type

In this list, choose the way to access the server. The available options are:

  • FTP: choose this option to have PhpStorm access the server via the FTP file transfer protocol.

  • SFTP: choose this option to have PhpStorm access the server via the SFTP file transfer protocol.

  • FTPS: choose this option to have PhpStorm access the server via the FTP file transfer protocol over SSL (the FTPS extension).

  • Local or mounted folder: choose this option if the Web server is running in a local or a mounted folder and its document root is NOT the parent of the project root.

  • In-place: choose this option if the Web server is running on your computer, your project is under its document root, and you do your development directly on the server.

FTP, FTPS, SFTP

FTP/SFTP/FTPS host

In this field, specify the host name of the FTP/SFTP/FTPS server to download the files from.

FTP, FTPS, SFTP

Port

In this field, specify the port to use. The default values are:

  • 21 for FTP and FTPS

  • 22 for SFTP

FTP, FTPS, SFTP

User name

In this field, type your user name for authentication to the server.

FTP, FTPS, SFTP

Log in as anonymous

Select this checkbox to enable anonymous access to the server with your email address as password.

FTP, FTPS, SFTP

Authentication

From this list, select the client authentication method. The available options are:

  • Password - select this option to use standard authentication through a password.

  • Key pair (OpenSSH) - select this option to use SSH authentication via a key pair.

SFTP

Password

In this field, type your password for authentication to the server.

FTP, FTPS, SFTP

Private key file

In this field, specify the location of your private key file.

FTP, FTPS, SFTP

Passphrase

In this field, specify your authentication passphrase.

SFTP

Save password

Select this checkbox to have PhpStorm remember the specified password.

FTP, FTPS, SFTP

Save passphrase

Select this checkbox to have PhpStorm remember the specified passphrase.

SFTP

Test connection

Click this button to check that the specified settings ensure successful connection via FTP/SFTP/FTPS.

FTP, FTPS, SFTP

Root path

In this field, specify the server configuration root relative to your user home which was defined when you registered your account. This folder will be the highest one in the folder structure accessible through the current server configuration.

Do one of the following:

  • Accept the default / path, which points at the user home folder on the server.

  • Type the path manually.

  • Click Browse button and select the desired folder in the Choose Root Path dialog that opens.

  • Click the Autodetect button and have PhpStorm detect the user home folder settings on the FTP/SFTP server and set up the root path according to them. The button is only enabled when you have specified your user name and password.

FTP, FTPS, SFTP

Autodetect

Click this button to have PhpStorm detect the user home folder settings on the FTP/SFTP/FTPS server and set up the root path according to them.

FTP, FTPS, SFTP

Advanced

Expand this area to specify the additional uploading settings. The set of controls in the dialog box depends on the server access type, for details, see Deployment: Connection Tab.

FTP, FTPS, SFTP

TLS

Choose the method to invoke client security:

  • Explicit: the explicit (active) security is applied. Immediately after establishing connection, the FTP client on your machine sends a command to the server to establish secure control connection through the default FTP port.

  • Implicit: the implicit (passive) security is applied. In this case, security is provided automatically upon establishing connection to the server which appoints a separate port for secure connections.

    Note that the Implicit method is considered deprecated, and using it is discouraged.

FTPS

Web server URL

In this field, specify the URL address of the Web server root folder. Click Open URL in browser icon in the field to make sure that the specified server root URL address is accessible and points at the correct web page.

Both the HTTP and the HTTPS protocols are supported.

FTP, FTPS, SFTP

Don't check HTTP connection to server

  • When this checkbox is cleared, PhpStorm checks whether the specified URL address ensures successful connection to the server.

    Both the HTTP and the HTTPS protocols are supported.

  • When this checkbox is selected, PhpStorm moves to the next page of the Wizard without any connection check.

FTP, FTPS, SFTP

Last modified: 14 December 2018

See Also