Create New Project: Review Deployment Options
The page opens upon clicking Next on the Create New Project: Specify Local Path page of the wizard if you have selected the Custom option in the Deployment options area. Use this page to customize the default deployment procedure to the current download.
Exclude items by name
|In this field, specify patterns for the names of files and folders that you do not need to be deployed. Use semicolons as delimiters. Wildcards are welcome. |
The exclusion is applied recursively. This means that if a matching folder has subfolders, the contents of these subfolders are not deployed either.
Use this list to specify how much detailed logging you need to have. The available options are:
Stop operation on the first error
Select this checkbox to have data transfer stopped as soon as an error occurs.
Overwrite up-to-date files
If this checkbox is selected, all files will be uploaded uploaded no matter whether they have been changed since the previous upload or not.
Otherwise, if this checkbox is not selected, only the files that have been changed since the previous upload will be uploaded.
Preserve files timestamps
Select this checkbox to prevent resetting timestamps of files on upload.
Delete target items when source ones do not exist
If this checkbox is selected, any file in the destination directory will be removed if the file with this name is not involved in the current upload.
Create empty directories
Select this checkbox to have an empty directory on the server created automatically if a new local directory has been created in your project since the last upload in the source folder.
Prompt when overwriting or deleting local items
Select this checkbox to have PhpStorm ask you for confirmation before overwriting or deleting local items for synchronization during download.
Upload changed files automatically to the default server
From this list, choose when you want PhpStorm to automatically upload a file to the default server or server group. The available options are:
The default server configuration or a server group is appointed on the Deployment page by selecting the desired item in the list and clicking the Use as Default toolbar button .
Skip external changes
Select this checkbox to exclude local changes that were made using a third-party tool (a VCS, a script, and so on) from automatic upload.
The checkbox is available only when the Always or On explicit save action option is selected in the Upload changed files automatically to the default server list.
Override default permissions on files
Select this checkbox to change the default permissions assigned to uploaded files on remote hosts. Click Browse to open the Files Default Permissions dialog box, where you can manage access to uploaded files on remote hosts by assigning permissions.
Override default permissions on folders
Select this checkbox to change the default permissions assigned to uploaded folders on remote hosts. Click Browse to open the Folders Default Permissions dialog box, where you can manage access to uploaded folders on remote hosts by assigning permissions.
Warn when uploading over newer file
Use this list to define the version-control policy to apply when uploading files to remote hosts. Depending on this choice, PhpStorm either checks whether any changes have been made to the corresponding files on the remote host since you downloaded them or just overwrites the remote files.
Notify about remote changes
Select this checkbox to receive notifications about changes on the remote host. The checkbox is available only when the Compare timestamp and size: or Compare content: option is selected in the Warn when uploading over newer file list.
Show warning dialog on moving on Remote Host
If this checkbox is selected, PhpStorm will display a confirmation message when you move an item to a different location on a remote host in the Remote Host Tool Window.
SFTP advanced options (IDE level setting)
Add new host key to known_hosts
Choose whether PhpStorm should ask about connecting to a host not listed in the known_hosts file. The following options are available:
Hash hosts in known_hosts file
If this checkbox is selected, the new host record will be stored in hash format.