Apache安装

1、安装环境html

win10apache

2、Apache下载服务器

  1. csdn下载:
  2. 官网下载:http://httpd.apache.org/【下载方法:http://www.javashuo.com/article/p-qurwqdfs-eb.html

3、Apache安装网络

 

一、Apache服务器下载完成后,进行解压缩,而后将文件到你想放置的目录下,这里我本人选择放在D:\Program\Apache目录下。 【里面有一个html文件不用管,没有用】spa

 

二、打开httpd.conf文件(好比在D:\Apache-2.4.20\Apache\conf下)3d

  • 修改Apache实际绝对安装目录:以下图所示(其中“${SRVROOT}”指定义的SRVROOT路径变量):

    三、修改端口,80端口使用的软件过多,容易发生冲突htm

  

  四、检查配置文件是否合法:httpd.exe -tblog

   五、安装Apache的主服务:httpd.exe -k install -n Apacheget

    六、到此就安装成功了,若是报错,查看是不是下面的三种报错状况,若是不是,你只能o_o ....it

 4、Apahce启动

    点击 bin目录中的ApacheMonitor.exe

    

启动页面

5、Apache安装过程报错信息

     一、Apache安装报错:(OS 10048)一般每一个套接字地址(协议/网络地址/端口)只容许使用一次。 : AH00072: make_sock: could not bind to address [::]:80

      连接:http://www.javashuo.com/article/p-wzcloile-du.html

     二、Apance安装提示:(OS 10048)一般每一个套接字地址(协议/网络地址/端口)只容许使用一次。 : AH00072: make_sock: could not bind to address [::]:443

      连接:http://www.javashuo.com/article/p-ndzordrl-dm.html

     三、Apahe的安装报错信息:(OS 5)拒绝访问。 : AH00369: Failed to open the Windows service manager, perhaps you forgot to log in as Adminstrator?

      连接:https://www.cnblogs.com/hahayixiao/p/11366078.html

6、附:Apache各个文件的做用

 感谢:蔷薇Nina

参考连接:http://www.javashuo.com/article/p-ypnxaaah-p.html

相关文章
相关标签/搜索