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/   



查看全文
  • 相关阅读:
    网线接线分类
    MongoDB修改用户密码
    win10计算器和商店英文改中文
    电脑微信双开
    ajax
    get和post的区别
    javascript中各种继承方式的优缺点
    原型
    高阶函数的封装
    深浅拷贝
  • 原文地址:https://www.cnblogs.com/ldxsuanfa/p/10553005.html
  • Copyright © 2011-2022 走看看