PhpStorm
 
2023.2
Get PhpStorm
You are viewing the documentation for an earlier version of PhpStorm.

Deployment: Mappings Tab

Last modified: 26 June 2023

In this tab, configure mappings, that is, set correspondence between the project folders, the folders on the server to copy project files to, and the URL addresses to access the copied data on the server. The easiest way is to map the entire project root folder to a folder on the server. The project folder structure in this case will be repeated on the server, provided that you have selected the Create Empty directories checkbox in the Options dialog. For more information, refer to Configure synchronization with a server and Customize upload and download.

The following terms are used in the context of synchronization between PhpStorm and servers:

  • In the local server configuration, you do your development, then copy the sources to the server.

    A local server is a server that is running in a local or a mounted folder and whose document root is NOT the parent of the project root.

  • In the remote server configuration, a server runs on another computer (a remote host). To access files on the server, use FTP/SFTP/FTPS/WebDAV protocols.

  • The server configuration root is the highest folder in the file tree on the local or remote server accessible through the server configuration. For in-place servers, it is the project root.

  • A local file/folder is any file or folder under the project root.

  • A remote file/folder is any file or folder on the server.