How to download and install apache

藏色散人
Release: 2019-10-14 13:53:42
Original
20828 people have browsed it

How to download and install apache

1. Log in to the official website: http://httpd.apache.org/download.cgi

2. As shown below

How to download and install apache

How to download and install apache

How to download and install apache

3. Download the installation package and extract it to the specified directory. You can specify the directory (E:\web\Apache24) according to your own requirements. The web folder can be named according to your own needs.

4. Go to the E:\web\Apache24/conf folder and open the httpd.conf file, as shown below:

How to download and install apache

Change to the Apache file Unzip the installation path (E:\web\Apache24).

5. Open the command line and enter netstat -a in the command line to check whether port 80 is occupied. If it is occupied, open the httpd.conf file and find the following picture:

How to download and install apache

Change port 80 to a port that is not occupied (for example: 8088) and save it.

5 Enter the E:/web/Apache24/bin directory through the command line, and then execute the httpd -k install command to install

How to download and install apache

and then install it on the command line Enter httpd - k start command to start the service

How to download and install apache

6 Enter loaclhost:8088 in the browser and press Enter. As shown in the figure

7 below, stop the service and enter httpd -k stop in the command line

How to download and install apache

For more Apache related knowledge, please visitApache usage Tutorialcolumn!

The above is the detailed content of How to download and install apache. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!