Environment configuration of Wampserver and Phpstudy under Windows environment

Source: Internet
Author: User

I. Wamperserver

1. Download the installation to the local designated directory, official website http://www.wampserver.com

2. Based on your actual installation path, D:\pc\wampserver\wamp64\bin\apache\apache2.4.23\conf\extra, locate the Apache configuration file httpd-vhosts.conf

    

3. Open the Apache configuration file httpd-vhosts.conf

    

ServerName zp.com for a configured virtual site
DocumentRoot path to the D:/project/xzzp/public project file

4. Locate the native host file, bind to local, C:\Windows\System32\drivers\etc

    

    

    

5. Restart the service environment

Two. Phpstudy

1. Open Phpstudy

    

2. Locate the httpd-conf file

    

3. Open the Find 223 line, modify the folder to your project, (personal habits items placed in a unified folder) DocumentRoot "D:\project"

    

4. Locate the site domain name management, open

    

5. Follow the steps to step through

   

6. Locate the host file, open

    

7. Modify the file to bind the virtual domain name to the local

    

8. Restart the service environment

    

Environment configuration of Wampserver and Phpstudy under Windows environment

Related Article

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.