Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of synchronizing Server Files with PHPstorm configuration

2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you the method of PHPstorm configuration synchronization server files, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Configure the server

1. Connection configuration

Open the menu bar Tools-> Deployment-> Configuration

Click + to select SFTP and fill in the relevant server information:

Type: connection type, select SFTPHost: server ip address Port: Port, default 22User name: login account name, for example: rootAuthentication: verify login method, select password password

When completed, you can click Test Connection to test whether the connection is successful, which will prompt Successful.

Root path: select the root path when accessing the server, starting with the server root path. Files outside this configuration will no longer be accessible through PHPstorm.

Web server URL: the address when connecting is filled in automatically, don't worry about it

2. Address configuration

Click the Mapping option at the top of this page and fill in the relevant configuration

Local path: select the local repository path that will be synchronized with the server

Deployment path: select the repository path of the synchronization server. The starting point is the path just configured by Root path. There can be multiple different Mapping paths under Root path. Add it by clicking the Add New Mapping button.

The path of Web path:Web on the server

Click OK to save

The above is all the contents of this article "how to configure PHPstorm to synchronize server files". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report