Php+wamp environment to deploy local Web apps

Source: Internet
Author: User

1. Create a new project (project), click on the toolbar's app run/debug (Select run/debug Configuration) drop-down menu to pop up the edit cofigurations option, and click the Enter Edit dialog box. (or use the Run-edit configuration of the menu bar). Such as

2. In the Edit dialog box, double-click defaults or the Wrench button on the stand-alone toolbar to expand the settings, or you can expand the settings by clicking the plus ("+") icon on the left side of the defaults. We choose PHP Web application Here, then the right dialog will display the corresponding configuration information. As shown

3. In the drop-down box in server Select the server to use, by default as shown, this time we need to choose to configure a Web server, click the button after the server to eject the configuration information of the server.

    1. Click the plus sign at the top left to add server information that displays an unnamed server information. Such as

Pictures of myself:

5. Configure the server information, (here I use the Wampserver 2.2 set into the environment as a local server) to modify the name Wamp, you can change to any name you like, preferably do not use Chinese. In the host column, fill in localhost or 127.0.0.1, if you use a remote server to fill the server IP address or domain name. Port (port number) change to the port number of your server. Debugger default to Xdebug, you can also select Zend Debugger by using the following boxes. Once configured, click the OK button below to go back to the app Run/debug dialog box.

My Picture: (I use Phpnow, so named)

6. Select the server that you just configured in the server. and the relative path that you want to deploy in the Web server folder. After the configuration is finished, click the OK button below to exit. As shown
7. The application to the server cannot be deployed immediately after the configuration is complete. Also configure the deployment directory for the project, and so on. X Select the tools-> deployment-> configuration pop-up Deployment Configurations dialog box.

8. Also click the plus sign in the upper left to add the deployment information, modify the deployment name (modified here to Jquerydemo), select the local mounted folder in the type,

9. Select the path to the server

Pictures of myself:

10. Modify the mapping information, select and fill in the corresponding information. Select the Mappings tab, the Local path is the path to the source file, the folder where the project resides, and Deployment path on server is the relative path to the previously configured Web server, as shown in the configuration information

My Picture: (Special note, use the This server as default button to press down!)

10. You can now deploy the project to the server for testing.

There are several ways to deploy the method:

1. Select Menu tools-> deployment-> Automatic Upload selected, the menu item will be preceded by a tick, as long as you edit the page can be automatically deployed to the server when the file is maintained.

2. Select the menu tools-> deployment-> Upload to Jquerydemo so that all the files are deployed to the server.

3. Select the project right-click to open the shortcut menu and select Deployment-> Upload to Jquerydemo so that all the files are deployed to the server.

Note:

My source file directory is: F:\php

The folder directory I deployed on the server is: F:\Program files\phpnow-1.5.6\htdocs\deployment

Other than that:

After the server is set up, the server will not be deleted at the same time after additional files are deleted.

Check the following options in the Setting-deployment-options.

Php+wamp environment to deploy local Web apps

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.