zoukankan      html  css  js  c++  java
  • apache 绿色版 安装

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

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



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

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



    安装为服务

    httpd.exe -k install



    错误提示:

    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行改为绝对路径



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

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

    卸载:httpd.exe -k uninstall



    又一次安装



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

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

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


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




    http://localhost/   



查看全文
  • 相关阅读:
    【ORA-02049】超时分布式事务处理等待锁 解决方法
    Git使用出错:Couldn‘t reserve space for cygwin‘s heap, Win32
    JS身份证号码校验
    linux 下查看cpu位数 内核等参数命令(转)
    linux ps命令,查看进程cpu和内存占用率排序(转)
    JAVA图片验证码
    JAVA BigDecimal 小数点处理
    Linux命令大全
    Eclipse Java注释模板设置详解
    JSONArray的应用
  • 原文地址:https://www.cnblogs.com/ldxsuanfa/p/10553005.html
  • Copyright © 2011-2022 走看看