Win10 under Appach Configuration

Source: Internet
Author: User

1. Apache Download, login http://httpd.apache.org/download.cgi, select files for Microsoft Windows, have the following options,

I chose Apache Haus.

HTTP://WWW.APACHEHAUS.COM/CGI-BIN/DOWNLOAD.PLX Apache 2.4 VC9

Unzip after download

2. Modify the Appache httpd.conf file, find the Define srvroot This configuration item, change its value to the directory of the Apache file you extracted, note the slash to use "/", eg:

" D:/software\httpd-2.4.18-x86-r3/apache24 "

Then modify LISTEN, where the default is 80 port, you first make sure that your 80 port is not occupied, you can use the following command in CMD to view, Netstat-a.

3. Then configure the master service to install Apache, open cmd as an administrator, enter: "Your Apache decompression path to Bin\httpd.exe"-K install-n Apache, quotation marks are also needed. Apache is the name of the service, this can be changed. The install may appear "Errors reported here must is corrected before the service can be started." It doesn't matter, check if you have Apache in your service. Services:

Input: net start Apache

4. In the browser type: http://localhost: You configure the Apache port, the following diagram appears, OK, succeeded.

Win10 under Appach Configuration

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.