Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How Windows installs the Apache service

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

First, we went to Apache's official recommendation site to download the latest version. The address is as follows:

https://www.apachelounge.com/download/

Open as follows:

Note, on the left side you can choose the corresponding vs version, I choose vs16, there are 32-bit version and 64-bit version, I choose 64-bit version, download, extract apche24 to d disk

Then open the apache24\conf directory and modify an installation directory parameter under httpd.conf

Open cmd, enter apache24\bin directory, run

httpd -k install -n apache2.4

where the-n parameter is the specified service name.

The error message is because the servername parameter is not configured. You can modify and add it according to your own website.

Open system services and see that there is already a service named Apache 2.4.

That's it. It's done.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report