一、 下载文件

1. 进入官网

            Apache官网 链接

2. 选择download

                               Windows下Apache 下载与安装

3. 选择windows 版本进行下载安装

                        Windows下Apache 下载与安装

4. 选择 Apache Lounge

                                          Windows下Apache 下载与安装

5. 选择适合自己电脑的版本,下载

                             Windows下Apache 下载与安装

6. 下载后的压缩包

                                                         Windows下Apache 下载与安装

二、解压文件

1. 将文件放置在你想放置的目录(目录不要带中文),我在d盘新建了一个文件(Apache-2.4.1),将压缩包放置在该文件夹下,解压后的文件如下:

                                                          Windows下Apache 下载与安装

2. 打开ReadMe.txt文件

                       Windows下Apache 下载与安装

      2.1 在运行Apache之前,必须安装 Visual C++

      2.2 在httpd.conf 配置文件中,修改Define SRVROOT 后的路径(路径为解压后Apache24的文件夹位置),例如我解压后的位置是:D:\Apache-2.4.1\Apache24

                                                            Windows下Apache 下载与安装

三、运行

1. 通过读ReadMe.txt 文件

                             Windows下Apache 下载与安装

管理员模式打开命令行窗口,进入XXXX\Apache24\bin 目录,执行httpd.exe

                   Windows下Apache 下载与安装

2.在浏览器中输入http://localhost

                                Windows下Apache 下载与安装

 

 

相关文章:

  • 2022-02-07
  • 2021-10-21
  • 2021-08-03
  • 2021-11-23
  • 2021-12-14
  • 2021-08-02
  • 2021-05-31
猜你喜欢
  • 2021-08-30
  • 2021-08-13
  • 2021-08-01
  • 2021-12-03
  • 2021-04-24
相关资源
相似解决方案