zoukankan      html  css  js  c++  java
  • Windows安装apache2.4

    The primary Windows platform for running Apache 2.4 is Windows 2000 or later. Always obtain and install the current service pack to avoid operating system bugs.

    官方说明

    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:

    我的操作 吠品整理。

    使用win 2003系统 只支持到VC9。

    下载地址:http://www.apachelounge.com/download/win32/binaries/httpd-2.4.12-win32-ssl_0.9.8-VC9.zip

    说明:Apache 2.4.12 ,IPv6 Crypto apr-1.5.1 apr-util-1.5.4 apr-iconv-1.2.1 openssl-1.0.1l zlib-1.2.8 pcre-8.36 libxml2-2.9.2 lua-5.1.5 expat-2.1.0,build with OpenSSL 0.9.8ze。

    安装步骤:

    1.安装 vc9_x86(Microsoft Visual C++ 2008 x86) 运行库
    2.下载  httpd-2.4.12-win32-ssl_0.9.8-VC9.zip   解压到 D:webApache
    3.修改配置文件:D:webApacheconfhttpd.conf.
        修改路径(替换 c:/Apache24 为 d:/web/Apache).
        找到:ServerName www.example.com:80  下面加一行:ServerName localhost
    4.运行。测试:浏览器打开 127.0.0.1。
        1.双击:D:webApacheinhttpd.exe
        2.进入cmd运行相关指令。启动:httpd.exe,服务启动:httpd.exe -k install。
     
    5.更多配置。
        a.日志文件地址:ErrorLog "logs/error.log" 改成 ErrorLog "../logs/error.log";CustomLog "logs/access.log" common 改成 CustomLog "../logs/access.log" common
        b.网站默认目录地址。d:/web/Apache/htdocs 改成 d:/web/www
        c.其他

    未完待续。。。

    目前教程整理在xwamp网站中,具体介绍搭建方式。

  • 相关阅读:
    随机变量和期望
    lj的锁
    lyd的旅行
    sg函数和nim游戏的关系
    game with probability problem
    cf 853 B Jury Meeting [前缀和]
    cf 853 A planning [贪心]
    [ZJOI2015][bzoj3924] 幻想乡战略游戏 [动态点分治]
    [IOI2011] Race [点分治]
    [网络流24题] 星际转移问题
  • 原文地址:https://www.cnblogs.com/osfipin/p/4302757.html
Copyright © 2011-2022 走看看