Webstorm project runs to Apache server

Source: Internet
Author: User

1, command+, bring up the preferences of Webstorm. Or choose Webstorm's preferences directly.

2, search deployment.

3, click on the + number, name can be arbitrary, type Select local or Mounted folder

4,connection filled 2 items:
(1) Upload/download project File:apache The corresponding directory address (even if you do not make any configuration, put the written HTML and PHP into this, do not have any settings to view the page, now the Webstorm configuration, This is the path to fill in here).
(2) Browse file on server: Run address (my Apache port number is 80, so I write 80, different people set the port number is not the same, can change as needed).

5,mappings filled 2 items:
(1) Local Path: The folder address to deploy: (that is, the project directory to be run by Webstorm)
(2) Deployment path on server ' Apache ' (relative to Folder '/applications/xampp/htdocs '):
Deploy to the corresponding Apache root directory folder.
Because I wrote the complete folder in the connection, so write a \ on it.

6, exclude paths: can set which files can not be uploaded (I do not set this, this can not be filled)

7, Webstorm Tools Choose Deployment, choose Upload to Apache. Upload the project to Apache so that the browser can run.
If you do not want to pass each time, you can choose automatic upload.

8, click the Small Browser button, the page appears, run successfully.
Enter the employee number 101, click on the query, service.php status of 200 (no horror of 404), Done!!!

Webstorm project runs to Apache 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.