Windows Decompression Edition installs 64-bit Apache2.4.29

Source: Internet
Author: User

Version of Apache installed:

Httpd-2.4.29-win64-vc15.zip [This version requires the installation of the VC 2015 Runtime Library for Windows computers] (http://httpd.apache.org/docs/current/platform/ Windows.html#down) (version may be upgraded)

Baidu Network Disk Link: http://pan.baidu.com/s/1c100WDy password: 74bu (because I have been on the official web for a long time did not download down, finally in the other Baidu network disk found, paste here)

Find a directory to store the installation:

My directory is: D:\software\Apache-httpd

With personal hobbies, you can find your own directory to unzip files.

The following files are obtained after decompression:

We need to modify the configuration below, go to the Conf folder to find the httpd.conf file, open it with Notepad and modify the following

37 lines found: ServerRoot "C:/apache24" instead of "C:/apache24" to unzip the path to the Apache to be installed, I instead: ServerRoot "d:/software/apache-httpd".

58 Rows found: Listen 80 because IIS occupies a port that is also 80 ports, I changed the Apache port to another port, looking for a port that is not occupied, I changed it: Listen 8088

Find 246 rows 247 rows 379 rows:

246 line: DocumentRoot "C:/apache24/htdocs" Changes "C:/apache24/htdocs" to the directory of its own installation path: DocumentRoot "d:/software/apache-httpd/ Htdocs "

247 Line: <directory "C:/apache24/htdocs" > Change "C:/apache24/htdocs" to the directory of its own installation path: <directory "D:/software/apache -httpd/htdocs ">

379 Line: <directory "C:/apache24/cgi-bin" > Change "C:/apache24/cgi-bin" to the directory of its own installation path: <directory "D:/software/apac He-httpd/cgi-bin ">

Then use the DOS window to go to the Apache installation path directory to find the bin directory or go directly to the bin directory hold down the SHIFT key and then right-click to find: Open cmd command Prompt here (may later install Apache will prompt you not as an administrator, You can find the cmd command prompt right-click Administrator to run, and in the DOS window input: httpd.exe-k install-n apache-httpd (Httpd.exe this time in the bin directory of an. exe program,-K Install Apache as the service, the name of the-N apache-httpd service is displayed as APACHE-HTTPD, the name is defined by itself). After installation, you can find it in the service in Task Manager.

At this point in Windows Decompression installation Apache2.4.29 installation is complete!

can be accessed in the browser: http://localhost:8088/, such as:

Windows Decompression Edition installs 64-bit Apache2.4.29

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.