Server Configuration
1, connection configuration
Open the menu bar Tools -> Deployment -> Configuration
Click + Select SFTP, and fill in the server information:
Type:连接类型,这里选择SFTP
Host:服务器ip地址
Port:端口,默认22
User name:登录账户名,例如:root
Authentication:验证登录方式,选择password密码
Filled out can click Test Connection to test whether the connection is successful, the success will prompt Successful
Root path: root path of choice to access the server, the starting point for the server root path, other than this configuration file will no longer be accessible through PHPstorm
Web server URL: address, automatically fill in the time of connection, without regard to
2, address configuration
Click on the top of this page Mapping option, fill in the relevant configuration
Local path: Select Local repository path will be synchronized with the server
Deployment path: Select the synchronization server repository path, starting at just path Root path configuration, you can have several different paths Mapping In Root path, add it by clicking Add New Mapping button
Web path: Web path on the server
Click OK to save