下载绿色版apache 本文已apache2.4为例

http://www.apachehaus.com/cgi-bin/download.plx

apache 绿色版 安装

apache 绿色版 安装

下载后解压 打开readme_first.html文件

能够看到假设是 xp则须要安装 vs 2008 sp1 和 vc2008  自己下载后更新

apache 绿色版 安装

apache 绿色版 安装

安装为服务

apache 绿色版 安装httpd.exe -k install

apache 绿色版 安装


错误提示:

Testing httpd.conf....
Errors reported here must be corrected before the service can be started.
httpd.exe: Syntax error on line 39 of F:/develop/apache/2.4.9/conf/httpd.conf: ServerRoot must be a valid directory


改动38行改为绝对路径

apache 绿色版 安装


卸载又一次安装服务或者不用管仅仅要改动好配置文件就能够的

我这里演示卸载又一次安装

卸载:httpd.exe -k uninstall

apache 绿色版 安装apache 绿色版 安装


又一次安装

apache 绿色版 安装apache 绿色版 安装


Errors reported here must be corrected before the service can be started.

提示信息:这里报告的错误必须纠正后服务才干启动。

(仅仅是给我们个友善的提示)


服务已被安装(右键服务名(Apache2.4)启动  假设比較懒:启动类型改为自己主动)

apache 绿色版 安装

apache 绿色版 安装


http://localhost/   

apache 绿色版 安装

apache 绿色版 安装

相关文章:

  • 2022-02-16
  • 2022-01-08
  • 2022-02-01
  • 2021-12-03
  • 2021-08-31
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-05-02
  • 2021-06-20
  • 2021-09-17
  • 2021-04-14
相关资源
相似解决方案