Tutorial on installing Apache 2.4.41 on Windows 10

Tutorial on installing Apache 2.4.41 on Windows 10

1. Apache 2.4.41 installation and configuration

The first step is to download the latest Apache package from: https://www.apachehaus.com/cgi-bin/download.plx#APACHE24VC15, as shown below

The second step is to download and install the VC15 runtime environment. The download address is: https://www.apachehaus.com/cgi-bin/download.plx#REDIST15, as shown in the figure below

Step 3. Unzip httpd-2.4.41-o111c-x64-vc15-r2.zip locally and copy the Apache24 subfolder in the directory to the installation directory, for example D:\Program Files\Apache24

Step 4: Modify the Apache24/conf/httpd configuration file. Before modifying it, it is recommended to back up the initial httpd.conf file.

Define SRVROOT "D:/Program Files/Apache24"

ServerRoot "${SRVROOT}"

Step 4. Start the command prompt as an administrator, enter the bin directory of Apache24, and enter the following command:

Microsoft Windows [Version 10.0.18363.535]
(c) 2019 Microsoft Corporation. All rights reserved.
 
C:\Windows\system32>d:
 
D:\>cd D:\Program Files\Apache24\bin
 
D:\Program Files\Apache24\bin>

Step 5. Enter the command to install the run command. You can also uninstall the run command through httpd.exe -k uninstall -n "Apache24", as shown in the figure below

httpd.exe -k install -n "Apache24" 

The Apache24 service can be started and closed by the following commands:

>httpd.exe -k start -n "Apache24"
>httpd.exe -k stop -n "Apache24"

After successful installation, you can use httpd -k shutdown/stop/restart

Use shutdown, stop, start and other commands to shut down, stop and start the Apache service.

Summarize

The above is the tutorial on how to install Apache 2.4.41 under Windows 10 introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website!
If you find this article helpful, please feel free to reprint it and please indicate the source. Thank you!

You may also be interested in:
  • How to implement web stress testing through Apache Bench
  • How to install apachebench separately in CentOS environment
  • Spring Cloud integrates Apache-SkyWalking to implement link tracking
  • Apache Shrio security framework implementation principle and example explanation
  • Detailed explanation of the pitfalls of Apache domain name configuration
  • Detailed description and usage examples of Apache Commons tool classes in Java's commonly used class library
  • Apache Bench stress testing tool implementation principle and usage analysis

<<:  Detailed explanation of Mysql self-join query example

>>:  Implementation of multi-environment configuration (.env) of vue project

Recommend

Website Building Tutorial for Beginners: Learn to Build a Website in Ten Days

The 10-day tutorial uses the most understandable ...

MySQL 5.7.17 winx64 installation and configuration graphic tutorial

I summarized the previous notes on installing MyS...

Design theory: people-oriented design concept

<br />When thoughts were divided into East a...

Understanding and usage scenarios of ES6 extension operators

Table of contents 1. Replace the apply method, ge...

MySQL5.7.21 decompressed version installation detailed tutorial diagram

Since I often install the system, I have to reins...

MySQL chooses the appropriate data type for id

Table of contents Summary of Distributed ID Solut...

Complete steps to use vue-router in vue3

Preface Managing routing is an essential feature ...

Implementation steps for building FastDFS file server in Linux

Table of contents 1. Software Package 2. Install ...

VUE+Canvas realizes the whole process of a simple Gobang game

Preface In terms of layout, Gobang is much simple...

Implementation of Docker data volume operations

Getting Started with Data Volumes In the previous...

The use of vue directive v-bind and points to note

Table of contents 1. v-bind: can bind some data t...

Solution to Chinese garbled characters when operating MySQL database in CMD

I searched on Baidu. . Some people say to use the...

The difference between Readonly and Disabled

To summarize: Readonly is only valid for input (te...

Detailed examples of using JavaScript event delegation (proxy)

Table of contents Introduction Example: Event del...