5.4上午

  1. 进入apache服务器官网http://httpd.apache.org/,这里我们以下载稳定版的

    httpd 2.2.29为例,点击download。

    如何从Apache官网下载windows版apache服务器
  2. 2

    由于官方网页改版,以前的方式可能五法进行下载,为了不浪费大家的时间,特此修正2015-01-24

    第一步依旧是点击download

    如何从Apache官网下载windows版apache服务器
  3. 3

    点击链接Files for Microsoft Windows

    如何从Apache官网下载windows版apache服务器
  4. 4

    The Apache HTTP Server Project itself does not provide binary releases of software, only source code. Individual committers may provide binary packages as a convenience, but it is not a release deliverable.

    If you cannot compile the Apache HTTP Server yourself, you can obtain a binary package from numerous binary distributions available on the Internet.

    Popular options for deploying Apache httpd, and, optionally, PHP and MySQL, on Microsoft Windows, include:

    ApacheHaus

    Apache Lounge

    BitNami WAMP Stack

    WampServer

    XAMPP

    大致意思是说apache本身不提供已编译的安装包,只提供源码,如果你自己无法编译,可以选择下面这些官方推荐的第三方提供编译的网站。

    其中后两个是有名的wamp以及xampp集成环境,如果只想下载apache可以选择前三个网站,这里我们第一个ApacheHaus为例。

    如何从Apache官网下载windows版apache服务器
  5. 5

    打开ApacheHaus之后你会发现这个网站上有各种windows版本,可以尽情选择你要下载的版本。

    如何从Apache官网下载windows版apache服务器
  6. 6

    点击红框中的图标即可开始下载,x86是32位的,x64是64位的,根据自己的操作系统选择下载

    如何从Apache官网下载windows版apache服务器
  7. 7

    解压后是一个压缩包,把他移动到你想放置的地方。

    如何从Apache官网下载windows版apache服务器
    如何从Apache官网下载windows版apache服务器
  8. 8

    命令行下进入到apache下面的bin目录,输入

    httpd -k install

    把apache安装成windows后台服务。

    如何从Apache官网下载windows版apache服务器
  9. 9

    利用ApacheMonitor来启动你的apache

    The Apache Monitor is a desktop tray application that allows you to monitor the existence of a running Apache service and easily start, stop and restart Apache. To use it just double click on the ApacheMonitor.exe in the Apache24in folder. If you want it to start automatically for you when you log into the computer, just drag a copy into the Startup folder in Window's Start Menu.

    如何从Apache官网下载windows版apache服务器
  10. 10

    更多操作请参考附带的说明文档readme_first.html。

    如何从Apache官网下载windows版apache服务器
  11. 11

    针对大家遇到的一些问题做下简单总结

原文地址:https://www.cnblogs.com/bgd140206302/p/6805850.html