"Original" Phpstorm local modification sync saved to remote server

Source: Internet
Author: User

Phpstorm setting locally modified code synchronization to the remote server:

Set inside Search "Deployment", select + sign, then select SFTP:

Fill in the information for the remote host:

Then select mappings, fill in the local code path and the remote host code path. Note: The remote path is relative to the path that was previously set for root path.

Then select the tools->deployment of the menu bar, tick Automatic Upload (auto upload), indicating that the local code will be automatically uploaded to the remote server as long as changes are saved.

Next Test, after the changes in the project to save, the following will appear the following prompt:

At this time to the server on the corresponding directory to view the file, has been modified.

This method is convenient for running code only on the online environment!

"Original" Phpstorm local modification sync saved to remote server

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.